MATLAB: How to fill in Sine Wave Block

simulinksine wave block

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 ):

Best Answer

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