plot repeated rect function

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

0 voti

The pulsetran function is one option.
Another is the stairs function.
There are other possibilities as well.
.

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by