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 Solvers144
Suggested Problems
-
Program an exclusive OR operation with logical operators
717 Solvers
-
Make a random, non-repeating vector.
9295 Solvers
-
Sum the numbers on the main diagonal
582 Solvers
-
537 Solvers
-
07 - Common functions and indexing 3
412 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!