matrix manipulation and permutation (swapping) values

2 Ansichten (letzte 30 Tage)
dakhli mohamed
dakhli mohamed am 9 Nov. 2018
Hi, SW contains different class values
I sorted the values of the first class in ascending order and put in a vector and I sorted the values of the second class in descending order in another vector
if the large values of class 1 are smaller than the small valeus of class 2, I make a permutation of their positions in the initial matrix (sw) attach an example that explains my problem

Antworten (0)

Kategorien

Mehr zu Shifting and Sorting Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by