Main Content

ringAnnular

Create annular ring on X-Y plane

Since R2021b

Description

Use the ringAnnular object to create an annular ring on the X-Y plane.

Creation

Description

ring = ringAnnular creates an annular ring on the X-Y plane.

example

ring = ringAnnular(Name=Value) sets Properties using one or more name-value arguments. For example, ringAnnular(Center=[1 1]) creates an annular ring shape centered at [1 1]. Properties not specified retain their default values.

example

Properties

expand all

Name of the annular ring, specified as a character vector or string scalar.

Example: ring = ringAnnular(Name='ringannular1')

Data Types: char | string

Center of the annular ring in Cartesian coordinates, specified as a two-element vector.

Example: ring = ringAnnular(Center=[1 1])

Data Types: double

Inner radius of the annular ring, specified as a positive scalar in meters.

Example: ring = ringAnnular(InnerRadius=0.006)

Data Types: double

Width of the annular ring, specified as a positive scalar in meters.

Example: ring = ringAnnular(Width=3)

Data Types: double

Object Functions

addBoolean unite operation on two RF PCB shapes
andShape1 & Shape2 for RF PCB shapes
areaCalculate area of RF PCB shape in square meters
intersectBoolean intersection operation on two RF PCB shapes
meshChange and view mesh properties of metal or dielectric in PCB component
minusShape1 - Shape2 for RF PCB shapes
mirrorXMirror shape along X-axis
mirrorYMirror shape along Y-axis
plusShape1 + Shape2 for RF PCB shapes
rotateRotate RF PCB shape about defined axis
rotateXRotate RF PCB shape about x-axis
rotateYRotate RF PCB shape about y-axis and angle
rotateZRotate RF PCB shape about z-axis
subtractBoolean subtraction operation on two RF PCB shapes
scaleChange size of RF PCB shape by fixed amount
showDisplay PCB component structure or PCB shape
translateMove RF PCB shape to new location

Examples

collapse all

Create an annular ring shape with default properties.

ring = ringAnnular
ring = 
  ringAnnular with properties:

           Name: 'myringAnnular'
         Center: [0 0]
          Width: 0.0020
    InnerRadius: 0.0050

View the shape.

show(ring)

Figure contains an axes object. The axes object with xlabel x (mm), ylabel y (mm) contains 2 objects of type patch. These objects represent PEC, myringAnnular.

Create an annular ring shape of inner radius 5 m and width 1 m.

ring = ringAnnular(InnerRadius=5,Width=1);
show(ring)

Figure contains an axes object. The axes object with xlabel x (m), ylabel y (m) contains 2 objects of type patch. These objects represent PEC, myringAnnular.

Mesh the ring at a maximum edge length of 1 m.

mesh(ring,MaxEdgeLength=1)

Figure contains an axes object. The axes object with xlabel x (m), ylabel y (m) contains an object of type patch.

Version History

Introduced in R2021b

See Also