I have n matrices, with values in the first line. I want in the second line the ascending order of the values from each column. For example:

n=3

A{1}=[1,2,3,4], A{2}=[10,11,12,13], A{3}=[5,15,4,20]

I want:

A{1}=[1,2,3,4;1,1,1,1], A{2}=[10,11,12,13;3,2,3,2], A{3}=[5,15,4,20,2,3,2,3]

Sorry, if I am not so clear

More Jean-Michel Clairand's questions See All
Similar questions and discussions