Problem 44888. Given a matrix A (size m x n) create a matrix B which consists of matrix A sorted in descending order by columns and then by rows.
--------------- A= [ 2 6 -3 7 12 0 -12 5 1] --------------- B=
[12 7 1 6 2 0 5 -3 -12];
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers142
Suggested Problems
-
508 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
363 Solvers
-
Sum the 'edge' values of a matrix
326 Solvers
-
Find the area of the four walls
268 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
318 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!