Exacting a constant range/window of values from a matrix (skipping one cell each time).
조회 수: 2(최근 30일)
I have a variable of values, X (1000 x 1) and want to create a separate variable, Y which is made up from values 1:24, skip one cell, then the next 24 values, skip one cell etc etc. until a certain value or the end of the matrix.
I feel like it should be reltively simple but just can't seem to quite get it right. Any help would be much appreciated.
Thanks in advance.