Main Content

matchinggain

Gain due to matched filtering

Since R2021a

    Description

    gain = matchinggain(pw,bw) returns the gain due to matched filtering.

    example

    gain = matchinggain(pw,bw,lr) specifies the reduction in signal-to-noise ratio (SNR) gain due to nonideal filtering.

    example

    Examples

    collapse all

    Compute the range processing gain of a side-looking airborne synthetic aperture radar (SAR). The waveform has an effective pulse width of 100 microseconds. The antenna noise bandwidth is 5 MHz. Assume a nonideal range filtering loss of 1.3 dB.

    pw = 100e-6;
    bw = 5e6;
    lr = 1.3;

    Compute the range processing gain.

    gain = matchinggain(pw,bw,lr)
    gain = 
    25.6897
    

    Input Arguments

    collapse all

    Effective pulse width of the radar waveform in seconds, specified as a positive real scalar or a vector.

    Data Types: double

    Noise bandwidth at the antenna in hertz, specified as a positive real scalar or a vector.

    Data Types: double

    Reduction in signal-to-noise ratio (SNR) gain in decibels, specified as a nonnegative scalar. This argument corresponds to the loss with respect to the ideal gain. Typical window functions like hamming and hann exhibit losses on the order of 1 dB. The argument defaults to 0, which assumes a rectangular window.

    Data Types: double

    Output Arguments

    collapse all

    Gain due to matched filtering in decibels, returned as a matrix. The rows of gain correspond to the pulse width values in pw. The columns of gain correspond to the bandwidth values in bw.

    Extended Capabilities

    C/C++ Code Generation
    Generate C and C++ code using MATLAB® Coder™.

    Version History

    Introduced in R2021a