Main Content


Calculate resonant frequency of antenna

Since R2023b



fR = resonantFrequency(aiant) calculates the resonant frequency of the antenna for current values of the tunable properties.


collapse all

This example shows how to create an AI model based microstrip patch antenna at 1.67GHz and calculate its resonant frequency.

pAI = design(patchMicrostrip,1.67e9,ForAI=true)
pAI = 
  AIAntenna with properties:

   Antenna Info
               AntennaType: 'patchMicrostrip'
    InitialDesignFrequency: 1.6700e+09

   Tunable Parameters
                    Length: 0.0862
                     Width: 0.1122
                    Height: 0.0018

Use 'showReadOnlyProperties(pAI)' to show read-only properties

Vary its length and width and calculate its resonant frequency.

pAI.Length = 0.0855;
pAI.Width = 0.113;
fR = resonantFrequency(pAI)
fR = 1.6806e+09

Convert the AIAntenna to a regular microstrip patch antenna.

pm = exportAntenna(pAI)
pm = 
  patchMicrostrip with properties:

               Length: 0.0855
                Width: 0.1130
               Height: 0.0018
            Substrate: [1x1 dielectric]
    GroundPlaneLength: 0.1795
     GroundPlaneWidth: 0.1795
    PatchCenterOffset: [0 0]
           FeedOffset: [0.0181 0]
            Conductor: [1x1 metal]
                 Tilt: 0
             TiltAxis: [1 0 0]
                 Load: [1x1 lumpedElement]

Input Arguments

collapse all

AI-based antenna, specified as an AIAntenna object created using the design function.

Example: design(patchMicrostrip,1.67e9,ForAI=true).

Output Arguments

collapse all

Resonant frequency of the antenna for current values of tunable properties, returned as a scalar in Hertz.

Example: 6.1104e9

Version History

Introduced in R2023b