There are a couple of ways to achieve this: [y1,I] = sort(x(1,:)) y2 = x(2,I) y = [ y1 ; y2 ]. This basically sort the first row of your ...
確定! 回上一頁