I want to get the first column number of each row with %T.
Now I use loop as follows.

x=rand(10,10);
for i=1 :10
        y(i)=min(find(x(i,:)>0.5);
end

Is there any way to get  y without using 'for end' loop because it will take
a time when row number is large .

Best regards.




--
View this message in context: 
http://mailinglists.scilab.org/getting-the-first-column-number-of-each-row-tp4033132.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to