July 5, 2015

Simulink-Analyzing a simple sine function y=sin(x) :

  1. After the simulation is complete double click on scopeand the sine wavewill be displayed.

    Scope Tab

  2. To change the amplitude of the sine wave simply double click on the sine wave and change the amplitude to say 10.Now run the simulation again and after the simulation is complete double click on the scope and the graph will be dispalyed with magnitude 10.

    Source Block

  3. If the graph is doesn’t appear properly click auto-fit.
    Auto Fit
    Hence the analysis is complete.

Suppose our function is y=5sin(x)+3

Repeat the same steps as mentioned above but in between the sine wave block and scope the modification will be given in the figure below.

Simulink Fuction


  • The gain add blocks can be found in Mathematical Operations.
  • Constants block can be found in sources.


Plot the following functions using simulink

  1. sin(x)|sin(x)|

  2. e|sin(x)|

Leave a Reply

Your email address will not be published. Required fields are marked *