MATLAB 之sort()函数和sortrows()函数

xiaoxiao2021-02-28  37

sort():对一维向量进行排序 sortrows():对按某一列数值,改变矩阵中整行的排列位置 p=sortrows(matrix,Row) %matrix 为要排序的矩阵。Row表示按第几列进行排序,整数代表升序,负数代表降序。

转载请注明原文地址: https://www.6miu.com/read-2627265.html

最新回复(0)