how to sort the values of each rows in the cell array
    5 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
I am having a randomly generated cell array
 for example B=15x1 cell array with values in each row of the cell array
1
1
1
1
1
[2,1]    -    [1,2]
[1,2]    -    [1,2] 
[1,1]
[1,2]
[1,2]
[3,1,2] -   [1,2,3]
[3,1,2] -   [1,2,3]
[1,3,2] -   [1,2,3]
[2,1,1] -   [1,1,2]
[3,1,2]  -  [1,2,3]
here , some rows are not sorted in order. Could anyone please help me how to sort those rows as desired in the right hand size.
As I have randomly generated the rows i want to sort any of the rows as they may change each and every time.
0 Commenti
Risposte (1)
Vedere anche
Categorie
				Scopri di più su Shifting and Sorting Matrices in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!