Yes we can, with the one liner solution:

log_data = [log_data(4001:$, :); log_data(1:4000, :)];

Rafael

-----Original Message-----
From: users [mailto:[email protected]] On Behalf Of Samuel Gougeon
Sent: Thursday, November 09, 2017 2:05 PM
To: Users mailing list for Scilab <[email protected]>
Subject: Re: [Scilab-users] Shift indices

Le 09/11/2017 à 12:42, Rafael Guerra a écrit :
> n = size(log_data,1);
> log_data = log_data([4001:n,1:4000], :);

Yes, it's definitely simpler!

(unfortunately, we can't use the implicit polynomial 4001:$ to replace 
n=.., 4001:n, because it can't be concatenated)

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to