Main Content

getMatchedFilter

System object: phased.SteppedFMWaveform
Namespace: phased

Matched filter coefficients for waveform

Syntax

Coeff = getMatchedFilter(H)
Coeff = getMatchedFilter(H,'FrequencyOffset',FOFFSET)

Description

Coeff = getMatchedFilter(H) returns the matched filter coefficients for the stepped FM waveform object H. Coeff is a matrix whose columns correspond to the different frequency pulses in the stepped FM waveform.

Coeff = getMatchedFilter(H,'FrequencyOffset',FOFFSET) adds a frequency offset when matched filter coefficients are generated. FOFFSET must be a scalar. This option is available when you set the FrequencyOffsetSource property to 'Input port' for the input object, H.

Examples

expand all

Get the matched filter coefficients for a stepped FM pulse waveform.

waveform = phased.SteppedFMWaveform(...
    'NumSteps',3,'FrequencyStep',2e4,...
    'OutputFormat','Pulses','NumPulses',3);
coeff = getMatchedFilter(waveform);

Show the first four coefficients for each step.

coeff(1:4,:)
ans = 4×3 complex

   1.0000 + 0.0000i   0.9921 + 0.1253i   0.9686 + 0.2487i
   1.0000 + 0.0000i   0.9686 + 0.2487i   0.8763 + 0.4818i
   1.0000 + 0.0000i   0.9298 + 0.3681i   0.7290 + 0.6845i
   1.0000 + 0.0000i   0.8763 + 0.4818i   0.5358 + 0.8443i