Main Content

viewGain

Plot transmitter output power as function of transmitter input power

Since R2024a

    Description

    example

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

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

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

    Examples

    collapse all

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

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

    Input Arguments

    collapse all

    Transmitter, specified as a phased.Transmitter 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