MATRIX COMARISON ORDER SYMMETRIC
Show older comments
SIR,
I HAVE EIGHT MATRICES A1,A2,A3..........A8 OF ORDER 8*8.I HAVE TO COMPARE LIKE A1(1,1)WITH A2(1,1),A3(1,1)........A8(1,1) AND THEY SHOULD ARRANGE IN ACENDING ORDER AND PUT IN ,FIRST ROW OF A NEW MATRIX A9 WHCIC IS OF ORDER 8*8 LIKE THIS I HAVE TO COMAPRE A1(1,2) WITH A2(1,2),A3(1,2)..........A8(1,2).LIKE THIS TYPE OF COMPARISON FOR ALL REMAINING ELEMENTS.
1 Comment
Rik
on 21 Dec 2020
You forgot to turn off caps lock. All caps is considered SHOUTING and impolite.
What you need to do is to use a cell array or 3D array instead of numbered variables.
Answers (0)
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!