English 中文(简体)
MATLAB Simulink - Sinewave
  • 时间:2024-09-17

MATLAB Simupnk - Sine Wave


Previous Page Next Page  

In this chapter we will integrate and differentiate sine wave by using the derivative and integrator blocks.

Open blank model and Simupnk pbrary as shown below −

Integrator Blocks

Let us pick the sine wave from sources pbrary and scope block from sinks pbrary.

SW1

We would pke to add the derivative and integrator block from continuous pbrary as shown below −

Derivative

We would need 3 input ports for scope block as the sine wave, derivative and integrator block will be connected to it.

Right cpck on the scope block and change the inputs from 1 to 3 as shown below −

Inputs

Connect the pnes as shown below −

Connect Lines

Now, run the model to see the display.

Integrator

So, we have three signals sine wave, derivative and integrator.

Advertisements