Hello Community! I have a 21×1 cell array containing text in the format 'XYZ'. Its name is nNames. I also have a 1×21 double array from the solution of colperm(). Its name is sortB.
Now I would like to bring the Text array in the order of the colperm order. I tried without success:
namessort=sort(nNames,sortB)
Is there any possibility to do this sorting or at least to print a List or Table where I can bring the text and the order together. Possibly very stupid, but this table could be processed in EXCEL – sorry for this.
Do you have a suggestion?
Best Answer