Shifted Stairstep graphs in a single figure
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
KALYAN ACHARJYA
2019 年 10 月 10 日
編集済み: KALYAN ACHARJYA
2019 年 10 月 10 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Graph and Network Algorithms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!