I have one for time loop under which a caclulation taking place for a 1d domain (let say 1:n). I want to plot my data against 1d domain for all times.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
for t=0:2:6
for i=1:n
%some calculation
end
% Let say this calculation gave us some value H(1:n) for t=0, t=2,and t=6
H
% I want to plot this H at all i. for all time steps (which will show me variation with time)
end
0 Kommentare
Antworten (1)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!