フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

plotting using for loops

3 ビュー (過去 30 日間)
Christopher
Christopher 2013 年 2 月 20 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by