摘要: Excel中有按某一列排序,同时扩展到其他列,Matlab中对应的有sortrows:The MATLAB functionsortrows(A,j)sorts the rows of the matrixabased on the entries of thej-th column. For example, enter the following in MATLAB: A = [1 2 3 3 0 9 6 5 4] B = sortrows(A,2) C = sortrows(A,3)You will receive the following output: B = 3 0 ... 阅读全文
posted @ 2013-06-02 10:43 ttang 阅读(18700) 评论(0) 推荐(0) 编辑