I need to make a square wave

1 visualización (últimos 30 días)
Wharengaro Ruha
Wharengaro Ruha el 2 de Oct. de 2019
Respondida: prasanth s el 2 de Oct. de 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 comentario
Bjorn Gustavsson
Bjorn Gustavsson el 2 de Oct. de 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.

Iniciar sesión para comentar.

Respuestas (1)

prasanth s
prasanth s el 2 de Oct. de 2019

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Productos


Versión

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by