Create a Square Wave Generator using Level-2 S-Function and MATLAB Function block in Simulink.

This video shows the steps to convert a sine wave into square wave. It first shows the steps to do it using simple simulink model. Then it shows the use of MATLAB Function block. Towards the end it shows the steps to generate the Square wave form using Level-2 S-Function block.

We will be glad to hear from you regarding any query, suggestions or appreciations at: programmerworld1990@gmail.com

Leave a Reply

%d bloggers like this: