Filter löschen
Filter löschen

plot repeated rect function

1 Ansicht (letzte 30 Tage)
Tu Nguyen
Tu Nguyen am 28 Feb. 2022
Beantwortet: Star Strider am 28 Feb. 2022
Dear all,
How can I plot the rectangular function like the image?
y = 2
Thank you so much for your help

Akzeptierte Antwort

Star Strider
Star Strider am 28 Feb. 2022
The pulsetran function is one option.
Another is the stairs function.
There are other possibilities as well.
.

Weitere Antworten (0)

Kategorien

Mehr zu Line Plots finden Sie in Help 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