フィルターのクリア

Create data set according to a plot ?

1 回表示 (過去 30 日間)
Anupa Koswatta
Anupa Koswatta 2019 年 6 月 10 日
コメント済み: Anupa Koswatta 2019 年 6 月 10 日
How can I create this input data set in matlab? (according to the figure).
Because I want to input this data set into simulink to do a simulation.
This chart the increasement and decreasement could be any value.
Please help me with this problem.
Thank you.

採用された回答

KSSV
KSSV 2019 年 6 月 10 日
t = [0 10 15 30 40 50 60] ;
vel = [20 20 30 30 10 5 5] ;
plot(t,vel)
ylim([0 35])
  1 件のコメント
Anupa Koswatta
Anupa Koswatta 2019 年 6 月 10 日
Thank you very much for the answer.
There is another additional thing I want to do.
Within 20 to 30 I want to make the increasement with many ups and down values.(for 100 data values).
Instead of writing those 100 data values manually, Please tell me a way to do that.
Thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by