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
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.
stozaki

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!