moonnightingale
Full Member level 6

I am having matrix A of about 2000 rows like following
A = 0 1 1 0 1 0
0 0 0 1 1 1
1 1 0 0 1 1
0 0 0 1 1 1
I want to make a new matrib B in which first three columns are finished and last three columns stay there like this
B = 0 1 0
1 1 1
0 1 1
1 1 1
kindly help me in matlab
A = 0 1 1 0 1 0
0 0 0 1 1 1
1 1 0 0 1 1
0 0 0 1 1 1
I want to make a new matrib B in which first three columns are finished and last three columns stay there like this
B = 0 1 0
1 1 1
0 1 1
1 1 1
kindly help me in matlab