Main Content

returnLoss

Calculate and plot return loss of antenna or scan return loss of array

    Description

    returnLoss(antenna,frequency) calculates and plots the return loss of an antenna, over a specified frequency and at a reference impedance of 50 ohm.

    returnLoss(antenna,frequency,z0) calculates and plots the return loss of an antenna, over a specified frequency and a given reference impedance, z0.

    example

    rl = returnLoss(antenna,frequency,z0) returns the return loss of an antenna.

    returnLoss(array,frequency) calculates the return loss of the individual array elements over the specified frequency at a reference impedance of 50 ohm and opens an interactive return loss plot. You can switch between the individual element plots by specifying the element number in the Elements box at the bottom of the plot.

    returnLoss(array,frequency,z0,elementnumber) calculates and plots the scan return loss of a specified antenna element in an array.

    rl = returnLoss(array,frequency,z0,elementnumber) returns the scan return loss of a specified antenna element in an array.

    rl = returnLoss(___,UseParallel = true) uses the Parallel Computing Toolbox™ to perform return loss calculations for each frequency in parallel. To use this feature, you need a license to the Parallel Computing Toolbox.

    Examples

    collapse all

    This example shows how to calculate and plot the return loss of a circular loop antenna over a frequency range of 50MHz-100MHz.

    h = loopCircular;
    returnLoss (h, 50e6:1e6:100e6);

    Figure contains an axes object. The axes object with title Return Loss, xlabel Frequency (MHz), ylabel Magnitude (dB) contains an object of type line.

    Input Arguments

    collapse all

    Antenna to calculate return loss, specified as one of the following options:

    Example: dipole

    Array to calculate scan return loss, specified as one of the following options:

    Example: linearArray

    Example: array(pcbStack,"linear")

    Frequency range to calculate return loss, specified as a positive vector in Hertz.

    Example: 50e6:1e6:100e6

    Data Types: double

    Reference impedance, specified as a scalar in ohms.

    Example: 40

    Data Types: double

    Antenna element number in array, specified as a positive integer scalar.

    Example: 1

    Data Types: double

    Option to enable parallel pool, specified as a logical value. The default value is false. Set the flag to true or 1 to enable the parallel pool. Use parallel pool to speedup the return loss calculations at multiple frequencies for computationally large antennas and arrays.

    Example: UseParallel=true

    Data Types: logical

    Output Arguments

    collapse all

    Return loss of antenna or scan return loss of array, returned as a vector in dB. The return loss is calculated using the formula

    RL=20log10|(ZZ0)(Z+Z0)|

    where,

    • Z = input impedance of antenna or scan impedance of array

    • Z0 = reference impedance

    Version History

    Introduced in R2015a