different size cells plotting
1 回表示 (過去 30 日間)
古いコメントを表示
I have several data contain different size of cells. the data size mostly are [n*3]. [:,1] of each cells is timeline. however not all the time in each cell counted from 1 also the timerange are different form each. the plot I want would be many lines on the plot using [:,2] of each cells. While the functions i tried always said that i need to assign the same size of cells for it or there are many result come out. Is there any function can plot for this problem or what code should i need to write for it? Very Thanks!!
4 件のコメント
採用された回答
KSSV
2018 年 7 月 11 日
file = 'neg 20_1_Mnalyzed.mat' ;
S = load(file) ;
A = S.nfkbX ;
figure
hold on
for i = 1:size(A,1)
plot(A{i,1}(:,2),A{i,1}(:,4))
end
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!