MATLAB Plotting Sine Waves Problems

Thread Starter


Joined Nov 27, 2009
I'm working on a communications lab prelab and we are doing FSK.

The problem is to create a random bit pattern of 15 bits using MATLAB. Using MATLAB plot the FSK signal. Use a carrier frequency of 100khz, hop frequency of 95 khz, and FSK rate of 1 khz

The problem that I am having is trying to create the sine waves. I always get confused on the time vector setup and using that with a sampling frequency and the carrier frequency.

Can someone help me start?


Joined Mar 21, 2009
I assume that you have a basic knowledge of shift keying processes. If you don't, please let me know.

On the other hands, you better share that lab material or sth (if exists). I may help you. I just couldn't understand the point that you're having trouble with.