[Scilab-users] convert vector to list
Federico Miyara
fmiyara at fceia.unr.edu.ar
Thu Feb 18 19:34:39 CET 2021
Dear All,
Is there a Scilab function to convert a vector to a list?
If x is a vector, this code
L = list();
for n=1:length(x)
L(n) = x(n);
end
seems to work, but it would be nice to have a primitive doing this more
efficiently. I don't seem to be able to find it.
Regards,
Federico Miyara
--
El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20210218/6a593453/attachment.htm>
More information about the users
mailing list