I need to make a square wave

1 次查看(过去 30 天)
Wharengaro Ruha
Wharengaro Ruha 2019-10-2
回答: prasanth s 2019-10-2
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 个评论
Bjorn Gustavsson
Bjorn Gustavsson 2019-10-2
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.

请先登录,再进行评论。

回答(1 个)

prasanth s
prasanth s 2019-10-2

类别

Help CenterFile Exchange 中查找有关 Spectral Measurements 的更多信息

产品


版本

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by