Main Content

showMetalMesh

Display metal mesh of antenna or array

Since R2023b

Description

example

showMetalMesh(m) displays the metal mesh of the antenna or array.

showMetalMesh(___,Name=Value) displays the metal mesh, with additional properties specified by one or more Name-Value Arguments.

Examples

collapse all

This example shows how to read mesh parameters of a microstrip patch antenna and view the metal, dielectric, and complete mesh.

Create Microstrip Patch Antenna

Create a microstrip patch antenna with copper conductor and FR4 PCB substrate. Run impedance analysis on this antenna at 1.67 GHz to automatically generate the mesh.

p = patchMicrostrip(Conductor=metal("Copper"), Substrate=dielectric("FR4"));
figure
impedance(p,1.67e9);

Read Mesh Parameters of Antenna

Read the mesh parameters such as number of points, triangles, and tetrahedra, maximum and minimum edge length, mesh growth rate, and quality using the MeshReader object.

m = mesh(p)
m = 
  MeshReader with properties:

                Points: [3x1644 double]
             Triangles: [4x2014 double]
            Tetrahedra: [4x4620 double]
         MaxEdgeLength: 0.0044
         MinEdgeLength: 2.2012e-04
            GrowthRate: 0.9500
    MinimumMeshQuality: 0.0803
              MeshMode: 'auto'

View Mesh of Antenna

View the metal mesh.

figure
showMetalMesh(m)

View the dielectric surface mesh.

figure
showDielectricSurfaceMesh(m)

View the dielectric volume mesh.

figure
showDielectricVolumeMesh(m)

View the overall mesh.

figure
showMeshAll(m)

Input Arguments

collapse all

Parameters of the mesh, specified as a MeshReader object.

Example: MeshReader object created using m = mesh(ant) syntax.

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: Slicer=1

Option to enable or disable plot interactivity, specified as "on" or "off", or as numeric or logical 1(true) or 0(false). Set this argument to 1 or "on" to open the plot with the slicer panel, and to slice and view the desired cross section of the plot along the xy-, yz-, and xz-planes. Set this argument to 0 or "off" to open the plot without the slicer panel.

Example: 1

Example: true

Example: "on"

Data Types: double | logical | string

Version History

Introduced in R2023b

See Also

Functions

Objects

Topics