What am I doing wrong with this function?
1 回表示 (過去 30 日間)
古いコメントを表示
I have the following code:
data = textread('new_data.txt');
D = sortrows(data,[11 7], {'ascend' 'descend'});
I get the following error:
Error using sortrows
Too many input arguments.
Error in Cross_Correlation (line 76)
D = sortrows(data,[11 7], {'ascend' 'descend'});
What am I doing wrong?
0 件のコメント
採用された回答
Star Strider
2016 年 6 月 13 日
編集済み: Star Strider
2016 年 6 月 13 日
Maybe this is what you intend:
D = sortrows(data, [11 -7]);
3 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Shifting and Sorting Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!