How to plot function part by part?
古いコメントを表示
So I want to set duration of plotting y=sin(t) to 10 seconds, but to plot it part by part every 2 seconds. So that means every 2 seconds plotting should be 'updated'.
I want to see how this work with basic function, because I want to apply it on plotting graph of winsound(sound card). It will also durate 10 seconds, and I need to update it every n seconds. So it is easier for me to see how this works on simple function such as sin(t). I hope you understood what I want to do, and I would be thankful if someone could solve my problem :)
4 件のコメント
Walter Roberson
2019 年 3 月 16 日
animatedline() . Every 2 seconds addpoints() and drawnow()
Faris Hajdarpasic
2019 年 3 月 17 日
Walter Roberson
2019 年 3 月 17 日
outline:
while there is more to do
addpoints(....)
pause(2)
end
Faris Hajdarpasic
2019 年 3 月 17 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Graphics Performance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!