MATLAB Answers


This question is closed. Reopen it to edit or answer.

How to set a dynamic loop

1 view (last 30 days)
Hinde essmahi BOUZIANE
Hinde essmahi BOUZIANE on 2 Jul 2019
Closed: Stephen Cobeldick on 2 Jul 2019
I have an array of 85 doubles and i want to browse the array 9 by 9 (ie: for i=1:9).I want to plot then the results in a figure (3*3).
for j=1:9
plot (S1,t,f);
%Start and End are the arrays that contains the 85 doubles each
But the problem is I just can plot the first 9 elements.How can I change each time to see the others elements?

Answers (0)


Community Treasure Hunt

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

Start Hunting!