Shifted Stairstep graphs in a single figure
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Good morning,
I should draw 100 stairstep curves in a single graph with x-axis from 0 to 100, where each curve is shifted by 1. How could I do?
Thank You for your time.
S.V.
0 Commenti
Risposte (1)
KALYAN ACHARJYA
il 10 Ott 2019
Modificato: KALYAN ACHARJYA
il 10 Ott 2019
Is this?
for j=1:100
stairs(j:j:100);
hold on;
end
Or
for j=1:100
stairs(j:j+1:100);
hold on;
end
0 Commenti
Vedere anche
Categorie
Scopri di più su Graph and Network Algorithms in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!