subploting the cells from arrays

for k = 1:63
data = thething{:,1}(:,4)
subplot(7,9,k)
stem(data)
end
these my codes. thething is 63 cells each with different numbers of cells in it. I would like to collect the forth line of data to draw 63 plot. Matlab saying there are 63 results but can not form plots. How can I do?

 Accepted Answer

for k = 1:63
data = thething{:,k}(:,4) ;
subplot(7,9,k) ;
stem(data)
end

3 Comments

still do not work on my program. orz
Specify dimensions of your data.....in each cell
thanks for advice

Sign in to comment.

More Answers (0)

Products

Asked:

on 27 Jun 2018

Commented:

on 27 Jun 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!