Plotting in a specific range
Ältere Kommentare anzeigen
lets say i have this simple code:
Res=[];
for i=10:2:50
for t=1:1:3
y=i*t
Res=[Res; i t y ]
end
end
How can I plot i-y curve but only when i>20 ?
2 Kommentare
Torsten
am 24 Mai 2021
plot(Res(:,1),Res(:,3))
xlim([21,50])
ILAYDA GULSEN KOCAK
am 25 Mai 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Annotations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!