Main Content

getMatchedFilter

System object: phased.RectangularWaveform
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 rectangular waveform object H. Coeff is a column vector.

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 rectangular pulse waveform.

waveform = phased.RectangularWaveform('PulseWidth',1e-5,...
    'OutputFormat','Pulses','NumPulses',1);
coeff = getMatchedFilter(waveform)
coeff = 10×1

     1
     1
     1
     1
     1
     1
     1
     1
     1
     1