Main Content

viewGain

Plot output receiver power as a function of input receiver power

Since R2024a

    Description

    example

    viewGain(recvr) plots the output power of the receiver as a function of input power to the receiver due to the gain specified by the GainMethod property. This syntax displays only the first channel.

    viewGain(recvr,'Parent',hax) plots the output receiver power on the hax axes.

    viewGain(recvr,'ChannelIndex',cidx) plots the output receiver power for the cidx channel.

    Examples

    collapse all

    Construct a phased.Receiver System object™ with 20 dB Gain and GainMethod set to 'Cubic Polynomial' with an OIP3 of 30. View the gain curve.

    recvr = phased.Receiver( ...
        GainMethod="Cubic polynomial",Gain=20,OIP3=30);
    viewGain(recvr)

    Input Arguments

    collapse all

    Receiver, specified as a phased.Receiver System object.

    Name-Value Arguments

    Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

    Example: Parent=5,ChannelIndex=3

    Parent plot axes, specified as an axes handle. When 'Parent' is not set, a new axes is created.

    Example: Parent=4

    Data Types: double

    Channel index, specified as a positive scalar.

    Example: ChannelIndex=8

    Data Types: double

    Version History

    Introduced in R2024a

    See Also