[Scilab-users] Removing elements of one vector from another vector

Izabela Wójcik-Grząba iwoj at il.pw.edu.pl
Fri Aug 17 12:08:38 CEST 2018


Thank you Dang and Claus,

I know some of these "matrix functions" but "members" is a new one for 
me although I thought that something like that must exist :-)

Now I have slightly different problem. I will show this on a simple 
example:
A=[0 0 0 0 0]' is the initial form of matrix
B=[10 15]' is the matrix of values
C=[2 4]' is the matrix of positions of the values from B in A, so the 
resulting matrix A would look like:
A=[0 10 0 15 0]'

Maybe there is also a smart function for that?
Thanks,
Iza



More information about the users mailing list