[Master Index] [Index for /tools/hpmatlab/toolbox/signal]

demod

(/tools/hpmatlab/toolbox/signal/demod.m)


Function Synopsis

[x,x2] = demod(y,Fc,Fs,method,P1,P2)

Help text

DEMOD	Signal demodulation for communications simulations.
	X = DEMOD(Y,Fc,Fs,METHOD,OPT) demodulates the carrier signal Y with a 
	carrier frequency Fc and sampling frequency Fs, using the demodulation
	scheme in METHOD.  OPT is an extra, sometimes optional, parameter whose
	purpose depends on the demodulation scheme you choose.

        METHOD            DEMODULATION SCHEME
	 'am',      Amplitude demodulation, double side-band, suppressed carrier
	 'amdsb-sc' OPT not used.
	 'amdsb-tc' Amplitude demodulation, double side-band,transmitted carrier
	            OPT is a scalar which is subtracted from the decoded message
	            signal.  It defaults to zero.
	 'amssb'    Amplitude demodulation, single side-band
	            OPT not used.
	 'fm'       Frequency demodulation
	            OPT is a scalar which specifies the constant of frequency 
	            modulation kf, which defaults to 1.
	 'pm'       Phase demodulation
	            OPT is a scalar which specifies the constant of phase 
	            modulation kp, which defaults to 1.
	 'pwm'      Pulse width demodulation
	            By setting OPT = 'centered' you tell DEMOD that the pulses 
	            are centered on the carrier period rather than being 
	            "left justified".
	 'ptm'      Pulse time demodulation
	            OPT is not used.
	 'qam'      Quadrature amplitude demodulation
	            For QAM signals, use [X1,X2] = DEMOD(Y,Fc,Fs,'qam')

	If Y is a matrix, its columns are demodulated.

	See also MODULATE.

Cross-Reference Information

This function calls
This function is called by

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON