开发者

How to combine 2 not even cells into 1 cell in MAtlab?

I got a problem here. I want read an excel file (Test.xls) with 2 sheets (test 1 & test 2) in matlab and use its data to analyze. So I d开发者_高级运维id: [a,b,c]=xlsread('Test.xls', 'text 1'); and [d,e,f]=xlsread('Test.xls', 'text 2');

The result that I got: c is: <65000x18 cell> and f is: <24912x18 cell>

Can anyone help me to join these 2 cell into 1? As z is: <89912x18 cell> or either way is to read all 2 sheets into the 'z'

Thanks a lot in advance

Jacky


You could also concatenate them vertically to start using:

z = [c;f];


You will have to transpose each then transpose the result.

z = [ c' f']'
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜