Modulation for communications simulation
y
=
modulate(x,fc,fs,'method'
)
y =
modulate(x,fc,fs,'method'
,opt)
[y,t] =
modulate(x,fc,fs)
y
and =
modulate(x,fc,fs,'method'
)
y
modulate the real message signal =
modulate(x,fc,fs,'method'
,opt)x
with a carrier frequency fc
and
sampling frequency fs
, using one of the options
listed below for 'method'
. Note that some
methods accept an option, opt
.
Note:
Use |
If you do not specify 'method'
, then modulate
assumes am
.
Except for the pwm
and ppm
cases, y
is
the same size as x
.
If x
is an array, modulate
modulates
its columns.
[y,t]
returns the internal
time vector =
modulate(x,fc,fs)t
that modulate
uses
in its computations.