How to: Raise Cell array
1 view (last 30 days)
Show older comments
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?
0 Comments
Answers (2)
Azzi Abdelmalek
on 29 Jan 2013
Edited: Azzi Abdelmalek
on 29 Jan 2013
[n,m]=size(num);
txt(end+1:n,:)={''}
0 Comments
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!