Poojith
Followers: 0 Following: 0
Feeds
已回答
Finding out lengths of sequences of numbers in a set of vectors
Hey, You can do this way. vector = [1 1 1 3 3 1 1 4 4 4 4 1 1 3 3 3 2 2 2 2, 0]; change_indices = find(diff(vector) ~= 0); l...
Finding out lengths of sequences of numbers in a set of vectors
Hey, You can do this way. vector = [1 1 1 3 3 1 1 4 4 4 4 1 1 3 3 3 2 2 2 2, 0]; change_indices = find(diff(vector) ~= 0); l...
2 months 前 | 0