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

Izabela Wójcik-Grząba iwoj at il.pw.edu.pl
Thu Aug 16 16:55:56 CEST 2018


Hello,

Is there any simple way to remove from one vector elements which are in 
another vector. For example:
a=[1 2 3 4 5 6 7 8]
b=[1 3 5]
resulting vector: c=[2 4 6 7 8].
I wonder if this can be done without a "for" loop.

Thanks in advance,
Iza



More information about the users mailing list