开发者

Implementing sortrows in MATLAB

My question is related with the previous solved question in How to save data in .txt file in MATLAB.

my problem is that, I decided to unsorted the output, however this error comes out when I removed th开发者_开发问答e sortrows---'Input files have different number of rows' And no error when I leave the sortrows

I'm curious why...is it related to the sortrows?

EDITED: I retained the rest of the codes except I changed B to B=A{:}


Although I haven't ran the code in the other post, it looks like A is a cell array whereas C is a matrix. So, if you want to get rid of the sortrows, try replacing it with B=cell2mat(A);.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜