Hello Izabela,

You may use the following:

--> x = [1.1 1.1 3.2; 2.3 1.1 1.1; 4.7 5.2 5.2]

 x  =
   1.1   1.1   3.2
   2.3   1.1   1.1
   4.7   5.2   5.2

--> r = tabul(x); r(r(:,2)==1,1)
 ans  =
   4.7
   3.2
   2.3

Samuel

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to