moonnightingale
Full Member level 6
am having larger data vector. I want to convert it to a matrix having 3 colums.
Example is here
m= [ 1 2 3 4 5 6 7 8 9]
I Want to have my output like this
n= 1 2 3
4 5 6
7 8 9
I tried reshape for this as well but it gave output like this
n= 1 4 7
2 5 8
3 6 9
which is not required by me.plz help me
Example is here
m= [ 1 2 3 4 5 6 7 8 9]
I Want to have my output like this
n= 1 2 3
4 5 6
7 8 9
I tried reshape for this as well but it gave output like this
n= 1 4 7
2 5 8
3 6 9
which is not required by me.plz help me