MATLAB Answers

How to fill in Sine Wave Block

3 views (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 ):

  0 Comments

Sign in to comment.

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

  0 Comments

Sign in to comment.

More Answers (0)

Categories

Products

Community Treasure Hunt

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

Start Hunting!