How to: Raise Cell array
显示 更早的评论
I use xlsread to read an excel file
[num txt]= xlsread(xxx);
num and txt arent alligned so I need to raise txt cell array 3 rows to have the same rows/indices with num.
how can i do this?
回答(2 个)
Azzi Abdelmalek
2013-1-29
编辑:Azzi Abdelmalek
2013-1-29
[n,m]=size(num);
txt(end+1:n,:)={''}
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!