plot repeated rect function

8 visualizzazioni (ultimi 30 giorni)
Tu Nguyen
Tu Nguyen il 28 Feb 2022
Risposto: Star Strider il 28 Feb 2022
Dear all,
How can I plot the rectangular function like the image?
y = 2
Thank you so much for your help

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Line Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by