A = magic(5)
A =
17 24 1 8 15
23 5 7 14 16
4 6 13 20 22
10 12 19 21 3
11 18 25 2 9
>> [a b] = max(A') %%%%%% b 就是那个列向量
a =
24 23 22 21 25
b =
2 1 5 4 3
A = magic(5)
A =
17 24 1 8 15
23 5 7 14 16
4 6 13 20 22
10 12 19 21 3
11 18 25 2 9
>> [a b] = max(A') %%%%%% b 就是那个列向量
a =
24 23 22 21 25
b =
2 1 5 4 3