Finding specific row and column of different matrices.

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

What is the expected result?
2 4 11 which is the (1,2) of three matrices
@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.

This question is closed.

Asked:

on 21 Jul 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!