1st time with matlab and simulink

Hello it's the first time that i'm using simulink and i'm trying to learn how to put a given signal and produce it in the spectum. so i have the signal S(t)=3•cos(2•pi•1000•t). can someone help me with the sine wave block settings so i can produce this signal.Thank you in advance.

1 Comment

so i set
Amplitude: 3
Frequency (rad/sec): 1000
Phase (rad): pi/2
Sample time: 1/400 (for exaple)

Sign in to comment.

Answers (1)

Please try:
Amplitude: 3
Frequency (rad/sec): 2*pi*1000
Phase (rad): pi/2
Sample time: 1/8000
HTH.

Asked:

on 10 Feb 2012

Community Treasure Hunt

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

Start Hunting!