Hi everyone,
I am interested in following if I put as an example;
I have an array A;
1 1 1 11 1 1 11 1 1 12 2 2 22 2 2 22 2 2 23 3 3 33 3 3 33 3 3 3
Now I would like to change this to array B which would look like;
1 1 1 1 2 2 2 2 3 3 3 31 1 1 1 2 2 2 2 3 3 3 31 1 1 1 2 2 2 2 3 3 3 3
How can I do this type of thing on matlab? The array A can have much more sets of data, and the code must go through each row of A until there is no more data.
Thanks a lot in advance! Sara
Best Answer