フィルターのクリア

How to plot ramp function in time domain

4 ビュー (過去 30 日間)
Nouran Nouh
Nouran Nouh 2017 年 1 月 21 日
回答済み: Sindhuja Parimalarangan 2017 年 1 月 23 日
How Can I plot Ramp function in time domain? I tried it using superposition by creating a line and then creating another line which is shifted and then I added them together but still it is not working!
  1 件のコメント
Star Strider
Star Strider 2017 年 1 月 21 日
Please post your code.
Tell us:
  • What you want it to do,
  • What it currently does that you do not want it to do,
  • what it is currently not doing that you want it to do,
  • any errors it throws
If this is in the context of the Control Systems Toolbox, Signal Processing Toolbox, and some others, the coding would be different that it would be if you were building it yourself in core MATLAB.

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

回答 (1 件)

Sindhuja Parimalarangan
Sindhuja Parimalarangan 2017 年 1 月 23 日
Here is an example of plotting the unit ramp function :
You could extend the above concept to plot the required ramp function.
Additionally, if you are looking to plot a time response, the lsim function could be useful :

カテゴリ

Help Center および File ExchangeGet Started with Control System Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by