[Scilab-users] Shift indices

Richard llom richard.llom at gmail.com
Fri Nov 17 17:16:48 CET 2017


Thank you all for the replies!

This is my solution now:
// ======== Wrap around at June 1st ========
ix1 = find(log_date==datenum(log_data(1,3),06,01))
ix2 = [ix1+1:size(log_data,1),1:ix1];
dat2 = log_data(ix2,6);

(which is much easier to read :-)



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html



More information about the users mailing list