How to plot a ramp waveform function using Matlab?

8 ビュー (過去 30 日間)
Madison Wheeler
Madison Wheeler 2019 年 11 月 23 日
回答済み: Star Strider 2019 年 11 月 23 日
1. Plot the waveform for f(t).
f(t) = 5r(t) – 2r(t-2) + 3r(t-5) – 6r(t-7)
I can not find a ramp function on Matlab. How would i code this to get the waveform to plot?

回答 (1 件)

Star Strider
Star Strider 2019 年 11 月 23 日
The definition of a ramp function is important here, and it is not defined in your Question. See if the tripuls or sawtooth functions will do what you want.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by