How to draw a square wave based on a trigonometric function

The function is in the attached picture and the ideal output wave should be the same as the wave in the attached picture but with 6 blocks (three on the positive y direction and three in negative y direction).

1 Comment

Sorry mate, but I think your images have not been uploaded correctly. Try reducing the size of the images. Thanks !

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 4 Jul 2019

Answered:

on 5 Jul 2019

Community Treasure Hunt

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

Start Hunting!