Main Content

directivity

Calculate directivity of coupler

Since R2022a

Description

directivity(coupler,frequency) calculates and plots the directivity of a coupler over the specified frequency values.

example

d = directivity(coupler,frequency) returns the directivity of a coupler over the specified frequency.

example

Examples

collapse all

Create a branchline coupler with default values.

coupler = couplerBranchline
coupler = 
  couplerBranchline with properties:

      PortLineLength: 0.0186
       PortLineWidth: 0.0051
     SeriesArmLength: 0.0184
      SeriesArmWidth: 0.0083
      ShuntArmLength: 0.0186
       ShuntArmWidth: 0.0051
              Height: 0.0016
    GroundPlaneWidth: 0.0600
           Substrate: [1x1 dielectric]
           Conductor: [1x1 metal]
          SolverType: 'MoM'
          IsShielded: 0

Calculate the directivity of the coupler at 2 GHz.

directivity(coupler,2e6)

Figure contains an axes object. The axes object with title Directivity, xlabel Frequency(GHz), ylabel Magnitude(dB) contains a line object which displays its values using only markers.

Create a rat-race coupler with default values.

coupler = couplerRatrace;

Calculate the directivity of the coupler at 3 GHz.

c = directivity(coupler,3e6)
c = 
-1.5211e-05

Input Arguments

collapse all

Coupler, specified as a coupler object. For a complete list of couplers, see Splitters and Couplers.

Frequency to calculate the directivity, specified as an integer in Hz or as a vector with each element specified in Hz.

Version History

Introduced in R2022a