# Sort Matrix Elements with Positions (Sripts) 1.0

Average Rating
User Rating:
Visitors Rating:
My rating:

• Last update: 5 years ago
• Operating system: Linux, Mac OS X, Win All, BSD, Solaris
• Publisher: Kadir (1 other programs)
See full specifications

## Sort Matrix Elements with Positions (Sripts) Publisher's description

### SORTMATRIXELEMENTS(A) returns a matrix that is composed of 3 columns

SORTMATRIXELEMENTS(A) returns a matrix that is composed of 3 columns:
first column is the array of the sorted (ascending) values of the
original matrix second column is the array of corresponding row positions
and third column is that of column positions.

SORTMATRIXELEMENTS(A,dir) returns sorted values with a descending order
if dir is equal to -1, or with an ascending order, otherwise.

A : the matrix to be sorted
dir: direction of the sort, -1 for descending, 1 for ascending (default)

I want to sort the matrix elements and at the same time
to know the position of each. I will create an array of arrays which
consists of elements that each has its value, row position and column
position. An example:
A = [8 2 6 11; 4 7 9 12; 5 1 3 10];
Array of arrays (X)
X is [8 1 1;
2 1 2;
6 1 3;
11 1 4;
4 2 1;
7 2 2;
9 2 3;
12 2 4;
5 3 1;
1 3 2;
3 3 3;
10 3 4]
And result of the sort (y)
Y is [1 3 2;
2 1 2;
3 3 3;
4 2 1;
5 3 1;
6 1 3;
7 2 2;
8 1 1;
9 2 3;
10 3 4;
11 1 4;
12 2 4 ]

#### System Requirements:

MATLAB 7.1.0 (R14SP3)
Program Release Status: New Release
Program Install Support: Install and Uninstall

#### Sort Matrix Elements with Positions (Sripts) Tags:

Click on a tag to find related softwares

## Most Popular

ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation