How to store the looping plot value in to a variable ?
1 回表示 (過去 30 日間)
古いコメントを表示
Hello
I have matlab code as follows: How to store the looping plot value of "ColorPink" over bandnumber into one variable, so I can analyze and cluster this variable for further processing. thanks before
for y=1:sample_nu
for x=1:band
Pinkcolor(y,:)=impixel(Color61(:,:,x),PinkColorsampling(y,1),PinkColorsampling(y,2));
ColorPink(x,:)=Pinkcolor(y,:);
end
plot(bandnumber,ColorPink(:,1),'r');hold on
end
2 件のコメント
回答 (1 件)
Mudambi Srivatsa
2017 年 6 月 27 日
The following post discusses techniques to store loop data in MATLAB:
https://www.mathworks.com/matlabcentral/answers/33750-save-loop-data
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!