[Scilab-users] get the intersect x and y

fujimoto2005 fujimoto2005 at gmail.com
Sat Sep 19 13:46:05 CEST 2015


I want to get the indices of vector x which satisfied x==y(j) for some j
where x and y are row vectors.
I am using
z=[]
for i=1 :size(y,2)
	z=[z,find(x==y(j))
end
If there is a simpler code which use find method please teach me.

Best regards.
Fujimoto	



--
View this message in context: http://mailinglists.scilab.org/get-the-intersect-x-and-y-tp4032870.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list