[Master Index]
[Index for /tools/hpmatlab/toolbox/signal]
modulate
(/tools/hpmatlab/toolbox/signal/modulate.m)
Function Synopsis
[y,t_out] = modulate(x,Fc,Fs,method,P1,P2)
Help text
MODULATE Signal modulation for communications simulations.
Y = MODULATE(X,Fc,Fs,METHOD,OPT) modulates the message signal X with a
carrier frequency Fc and sampling frequency Fs, using the modulation
scheme in METHOD. OPT is an extra sometimes optional parameter whose
purpose depends on the modulation scheme you choose.
METHOD MODULATION SCHEME
'am', Amplitude modulation, double side-band, suppressed carrier
'amdsb-sc' OPT not used.
'amdsb-tc' Amplitude modulation, double side-band, transmitted carrier
OPT is a scalar which is subtracted from X prior to
multiplication by the carrier cosine. It defaults to
min(min(X)) so the offset message signal is positive and
has a minimum value of zero.
'amssb' Amplitude modulation, single side-band
OPT not used.
'fm' Frequency modulation
OPT is a scalar which specifies the constant of frequency
modulation kf. kf = (Fc/Fs)*2*pi/max(max(abs(X))) by
default for a maximum frequency excursion of Fc Hertz.
'pm' Phase modulation
OPT is a scalar which specifies the constant of phase
modulation kp. kp = pi/max(max(abs(x))) by default for a
maximum phase excursion of +/-pi radians.
'pwm' Pulse width modulation
If you let OPT = 'centered', the pulses are centered on the
carrier period rather than being "left justified".
'ptm' Pulse time modulation
OPT is a scalar between 0 and 1 which specifies the pulse
width in fractions of the carrier period. It defaults to .1.
'qam' Quadrature amplitude modulation
OPT is a matrix the same size as X which is modulated in
quadrature with X.
If X is a matrix, its columns are modulated.
[Y,T] = MODULATE(...) returns a time vector the same length as Y.
See also DEMOD, VCO.
Cross-Reference Information
This function calls
- abs /tools/hpmatlab/toolbox/matlab/elfun/abs.m
- any /tools/hpmatlab/toolbox/matlab/ops/any.m
- ceil /tools/hpmatlab/toolbox/matlab/elfun/ceil.m
- cos /tools/hpmatlab/toolbox/matlab/elfun/cos.m
- cumsum /tools/hpmatlab/toolbox/matlab/datafun/cumsum.m
- disp /tools/hpmatlab/toolbox/matlab/general/disp.m
- else /tools/hpmatlab/toolbox/matlab/lang/else.m
- elseif /tools/hpmatlab/toolbox/matlab/lang/elseif.m
- end /tools/hpmatlab/toolbox/matlab/lang/end.m
- error /tools/hpmatlab/toolbox/matlab/lang/error.m
- floor /tools/hpmatlab/toolbox/matlab/elfun/floor.m
- for /tools/hpmatlab/toolbox/matlab/lang/for.m
- hilbert /tools/hpmatlab/toolbox/signal/hilbert.m
- i /tools/hpmatlab/toolbox/matlab/elmat/i.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- imag /tools/hpmatlab/toolbox/matlab/elfun/imag.m
- input /tools/hpmatlab/toolbox/matlab/lang/input.m
- length /tools/hpmatlab/toolbox/matlab/general/length.m
- max /tools/hpmatlab/toolbox/matlab/datafun/max.m
- min /tools/hpmatlab/toolbox/matlab/datafun/min.m
- nargchk /tools/hpmatlab/toolbox/matlab/lang/nargchk.m
- nargin /tools/hpmatlab/toolbox/matlab/elmat/nargin.m
- nargout /tools/hpmatlab/toolbox/matlab/elmat/nargout.m
- ones /tools/hpmatlab/toolbox/matlab/elmat/ones.m
- pi /tools/hpmatlab/toolbox/matlab/elmat/pi.m
- rem /tools/hpmatlab/toolbox/matlab/elfun/rem.m
- return /tools/hpmatlab/toolbox/matlab/lang/return.m
- sin /tools/hpmatlab/toolbox/matlab/elfun/sin.m
- size /tools/hpmatlab/toolbox/matlab/general/size.m
- zeros /tools/hpmatlab/toolbox/matlab/elmat/zeros.m
This function is called by
- moddemo /tools/hpmatlab/toolbox/signal/moddemo.m
- vco /tools/hpmatlab/toolbox/signal/vco.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON