[Scilab-users] find & vectorization
Samuel Gougeon
sgougeon at free.fr
Wed Dec 28 22:13:00 CET 2016
Le 28/12/2016 14:59, paul.carrico at free.fr a écrit :
> Thanks for your help.
> Well I wanted to get the position of each scalar, as the loop does;
> I'll be content to use a loop
>
-->// Where in A:
-->i = find(members(A,v))
i =
2. 3. 6. 12. 14. 18.
-->// Which v value:
-->A(i)'
ans =
2. 9. 6. 9. 9. 9.
SG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20161228/e41108d8/attachment.htm>
More information about the users
mailing list