I need to make a square wave

1 visualizzazione (ultimi 30 giorni)
Wharengaro Ruha
Wharengaro Ruha il 2 Ott 2019
Risposto: prasanth s il 2 Ott 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 Commento
Bjorn Gustavsson
Bjorn Gustavsson il 2 Ott 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.

Accedi per commentare.

Risposte (1)

prasanth s
prasanth s il 2 Ott 2019

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Prodotti


Release

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by