[Scilab-users] basic question ?

Samuel Gougeon sgougeon at free.fr
Sun Apr 23 23:47:06 CEST 2017


Hello,

Le 23/04/2017 à 23:15, paul.carrico at free.fr a écrit :
> Thanks for your answer
> I found another way ... not necessarily better than your one and 
> probably more costly :-(

You may do simply:
B = A(:, [1 4]).';
B = B(:);
B = [B zeros(B)]

Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170423/e341c3f0/attachment.htm>


More information about the users mailing list