plotting cells from arrays
11 ビュー (過去 30 日間)
古いコメントを表示
for k2 = 1:22
data2 = mean(cellfun(@(x) x(k2,4), thething))
plot(data2,'-')
end
this is my codes. thething is my arrays contain cells. After I run the scripts, the plot just show nothing on it. Please tell me what's wrong with my code?
8 件のコメント
Stephen23
2018 年 6 月 28 日
@Kuang-Yu WANG: please upload your data in a .mat file by clicking the paperclip button.
回答 (1 件)
KSSV
2018 年 6 月 27 日
figure
hold on
for k2 = 1:22
data2 = mean(cellfun(@(x) x(k2,4), thething))
plot(data2,'-')
end
4 件のコメント
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!