the rows of a matrix and delete columns

Status
Not open for further replies.

aaissa70

Newbie level 6
Joined
Sep 15, 2010
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,358
mix the elements of each rows of a matrix and delete columns

hi

any one help me plz how to mix the elements of each rows of a matrix and delete two columns
and repeat the operation n times matlab :roll:
 
Last edited:

Can you elaborate this with an example.The post is kind of ambiguous.
 

for exemple x=[1 2 3 4 5 6 7;
3 5 9 8 7 2 1;
0 2 1 4 9 3 6;
2 6 4 5 1 7 3;]

i want delete 2 last collums and and mix index of each rows and result

[3 7 6 1 5 ;
1 5 4 8 7 ;
1 2 5 4 3 ;
9 6 4 3 1 ;] rows mixed randomly and delete two collums
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…