[Scilab-users] find function failure in scilab6

fujimoto2005 fujimoto2005 at gmail.com
Tue Sep 1 16:20:15 CEST 2015


Dear all.
Save the attached file in current diorectry and run the following script.
******
load('test.dat');
disp(x);//x contains 0.1 as the 3rd elemnt.
disp(y);//y is 0.1
z=find(x==y);
disp(z)//failure because z returns [] instead 3.

****
Since x contains y as the 3rd element ,
find(x==y) should return 3.
But it returns [].
Is there any error in my script or is this just a bug of scilab6?

Best regards.

filure_of_find_function.sce
<http://mailinglists.scilab.org/file/n4032767/filure_of_find_function.sce>  



--
View this message in context: http://mailinglists.scilab.org/find-function-failure-in-scilab6-tp4032767.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list