To find the phase-shift keying (PSK), frequency-shift keying (FSK), and amplitude-shift keying (ASK) signals in MATLAB, you can use the awgn
function along with the pskmod
, fskmod
, and askmod
functions. Here's an example of how to generate and plot these signals:
main.m766 chars35 lines
In this example, data
is the input data that you want to modulate. The pskmod
, fskmod
, and askmod
functions are used to modulate the input data into PSK, FSK, and ASK signals, respectively. The awgn
function is then used to add white Gaussian noise to the signals to simulate a noisy environment.
Note that you need the Communications Toolbox in MATLAB to use the pskmod
, fskmod
, and askmod
functions.
gistlibby LogSnag