Clear Filters
Clear Filters

1st time with matlab and simulink

1 view (last 30 days)
panos dos
panos dos on 10 Feb 2012
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
panos dos
panos dos on 10 Feb 2012
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)

Rick Rosson
Rick Rosson on 12 Feb 2012
Please try:
Amplitude: 3
Frequency (rad/sec): 2*pi*1000
Phase (rad): pi/2
Sample time: 1/8000
HTH.

Community Treasure Hunt

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

Start Hunting!