resonantFrequency
Description
Examples
Create and Analyze AI-Based Microstrip Patch Antenna
This example shows how to create an AI-based microstrip patch antenna operating at 1.67 GHz, and calculate its bandwidth and resonant frequency.
Use the design
function with the ForAI
argument set to true
to create an AI-based microstrip patch antenna operating at 1.67 GHz. To use the ForAI
argument in the design
function you need a license to the Statistics and Machine Learning Toolbox™.
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
Explore the design space by changing its length and width with values within the tunable range of these properties. You can get the tunable range of a property by using tunableRanges
function on the AI-based antenna object.
pAI.Length = 0.0855; pAI.Width = 0.113;
Calculate the absolute bandwidth of the antenna and its lower and upper bounds.
[absBW,fL,fU,matchingStatus] = bandwidth(pAI)
absBW = 2.3422e+07
fL = 1.6679e+09
fU = 1.6913e+09
matchingStatus = categorical
Matched
Calculate the resonant frequency of the antenna.
fR = resonantFrequency(pAI)
fR = 1.7016e+09
Convert the AI-based microstrip patch antenna 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
aiant
— AI-based antenna to calculate resonant frequency
AIAntenna
object
AI-based antenna, specified as an AIAntenna
object created using
the design
function.
Example: design(patchMicrostrip,1.67e9,ForAI=true)
Output Arguments
fR
— Resonant frequency
scalar in Hertz
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
See Also
Objects
Functions
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)