How to fill in Sine Wave Block

1 view (last 30 days)
Huy Truong Tan Gia
Huy Truong Tan Gia on 19 Sep 2020
Answered: stozaki on 19 Sep 2020
I'm new with Simulink of MATLAB and don't know what exactly to do:
x(t) = 2*sin*(2*pi*t - (pi/2) )
With this equation, what do I need to fill in the Sine Wave Block ( the amplitude, bias, frequency, phase ):

Accepted Answer

stozaki on 19 Sep 2020
Hello Huy Truong Tan Gia,
The block dialog contains the definition of the sine function. (Red frame)
For example, if the sampling time is 1e-3, it will be as shown in the figure.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!