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 Solvers145
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1987 Solvers
-
Project Euler: Problem 7, Nth prime
1747 Solvers
-
1343 Solvers
-
Return the first and last characters of a character array
11787 Solvers
-
Output any real number that is neither positive nor negative
408 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!