×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

FSK signal in matlab Phase problem

FSK signal in matlab Phase problem

FSK signal in matlab Phase problem

(OP)
hello Im trying to generate a FSK signal in Matlab. The FSK signal is the concatenation of sinusoidal tones at two differend frequencies 1650 Hz and 1850 Hz

when the following code is run in matlab the first sinusoid does not smoothly trasition into the the second sinusoid (in the middle of the signal):

fs = 15000;
tn = 0:1/fs:0.05;
phi2 = 0;
xx = [cos(2*pi*1650*tn), cos(2*pi*1850*tn + phi2)];
plot (xx);

a different value for phi2 (the second sinusoid) is needed for the signal to look smoother. what is the best value for this phase?

Thanks

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources