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?

 採用された回答

KSSV
KSSV 2018 年 6 月 27 日

0 投票

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

3 件のコメント

Kuang-Yu WANG
Kuang-Yu WANG 2018 年 6 月 27 日
still do not work on my program. orz
KSSV
KSSV 2018 年 6 月 27 日
Specify dimensions of your data.....in each cell
Kuang-Yu WANG
Kuang-Yu WANG 2018 年 6 月 27 日
thanks for advice

サインインしてコメントする。

その他の回答 (0 件)

製品

質問済み:

2018 年 6 月 27 日

コメント済み:

2018 年 6 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by