I need to make a square wave

2 Ansichten (letzte 30 Tage)
Wharengaro Ruha
Wharengaro Ruha am 2 Okt. 2019
Beantwortet: prasanth s am 2 Okt. 2019
I need to make a square wave
at 1v for 2000s
then -1v for 2000s
then 1v for 4000s
then -1v for 6000s
then 1v for 2000s
I deally a funtion that can make a square wave from the signal below like in red
  1 Kommentar
Bjorn Gustavsson
Bjorn Gustavsson am 2 Okt. 2019
How I would do this depends on whether the function is supposed to continue somehow periodically after the end of your definition above or if that is the entire domain of your function.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

prasanth s
prasanth s am 2 Okt. 2019

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by