I am trying to plot a discrete impulse, but the plot is not that expected. The values of y should be 10 for x = 1, and 0 otherwise but instead y has a value of 10 for all x less than 1 and is 0 otherwise.

 Akzeptierte Antwort

Birdman
Birdman am 28 Jan. 2021

0 Stimmen

Try the attached model. See if it works for you. You can modify it.

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by