メインコンテンツ

getMatchedFilter

Matched filter coefficients for waveform

Description

Coeff = getMatchedFilter(steppedFMWaveform) returns the matched filter coefficients for the stepped FM waveform object steppedFMWaveform.

Coeff = getMatchedFilter(steppedFMWaveform,FrequencyOffset=freqoff) adds a frequency offset during the generation of the matched filter coefficients. This option is available when you set the FrequencyOffsetSource property to "Input port" for the input object, steppedFMWaveform.

example

Examples

collapse 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

Input Arguments

collapse all

stepped FM waveform, specified as a phased.SteppedFMWaveform object.

Frequency offset, specified as a scalar.

Output Arguments

collapse all

Matched filter coefficients, returned as a matrix. Coeff is a matrix whose columns correspond to the different frequency pulses in the stepped FM waveform.

Version History

Introduced in R2011a