Communications Toolbox    

Other Options in Analog Modulation

The table below lists a few ways in which you might vary the commands in Simple Analog Modulation Example in order to perform the modulation and demodulation slightly differently. See the reference pages for full details about options.

Substitutions in Simple Analog Modulation Example 
Modification of Process
Modifications in the Code
Set the carrier signal's initial phase to phs, measured in radians.
y = amodce(x,[Fs phs],'amdsb-tc');
z = ademodce(y,[Fs phs],'amdsb-tc');
Use a lowpass filter after demodulating. num and den are row vectors that give the coefficients, in descending order, of the numerator and denominator of the filter's transfer function.
z = ademodce(y,Fs,'amdsb-tc',0,num,den);

(For other demodulation methods, the 0 in the statement above would be unnecessary. See the reference page for ademodce for details.)
(AM-SSB only) Use a Hilbert filter in the time domain. num and den are as above.
y = amodce(x,Fs,'amssb/time',num,den);
z = ademodce(y,Fs,'amssb');
(AMDSB only) Use a Costas phase-locked loop.
z = ademodce(y,Fs,'amdsb-tc/costas');
or
y = amodce(x,Fs,'amdsb-sc');
z = ademodce(y,Fs,'amdsb-sc/costas');
(AMDSB-TC only) Shift the signal values by offset before modulating and after demodulating.
y = amodce(x,Fs,'amdsb-tc',offset);
z = ademodce(y,Fs,'amdsb-tc',offset);


  Simple Analog Modulation Example Filter Design Issues