Finding specific row and column of different matrices.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Suppose that I have matrices of
A=[1 2 3 4; 4 7 8 9 ; 10 11 12 13 ]
B=[3 4 7 8; 20 21 21 23; 60 63 64 55 ]
C=[10 11 23 34; 22 23 24 25; 30 21 33 34]
for example A(1,2)=2 B(1,2)=4 and C(1,2)=11,How can I sort 1st row and 2nd column (1,2) of this three matrices instead of doing one by one like [2 4 11].
3 Comments
Azzi Abdelmalek
on 21 Jul 2016
What is the expected result?
Gokhan Kayan
on 21 Jul 2016
Stephen23
on 21 Jul 2016
@Gokhan Kayan: you should learn from Azzi Abdelmalek's answer: keep your data together, rather than creating lots of separate variables. Then tasks like this are trivial.
Answers (1)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!