Info
この質問は閉じられています。 編集または回答するには再度開いてください。
plotting using for loops
3 ビュー (過去 30 日間)
古いコメントを表示
I have a matrix ,A, 364 x 24. I have a vector x=[0 1 2 3....23] (represting the hours of a day with 0 being 12am). What i want to be able to do is plot the first 24 samples vs x then store that graph (which will represent data in jan 1). then take the next 24 samples and plot that against x and save that plot and so on. What i have so far is
for k=1:364
plot(x,A(:,k));
xlabel('hours');
ylabel('price');
please help
utlimately, once this for loop is done, i would like to have a folder containing these 364 graphs so i can analyze them. I heard you can use a function like push button which will in turn turn to the next graph and so on. But i dont want to tbe limited to pushing buttons option. I just want to perform the for loop then later go to a folder all look at all the graphs at once. Can this be done? thanks ahead of time1
0 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!