Main Content

splitRing

Create split ring shape on X-Y plane

Since R2023a

Description

Use the splitRing object to create a split-ring shape centered at the origin on the X-Y plane.

Creation

Description

splitringshape = splitRing creates a split-ring shape centered at the origin and on the X-Y plane.

example

splitringshape = splitRing(Name=Value) sets Properties using one or more name-value arguments. For example, splitRing(ReferencePoint=[1 1]) creates a split ring shape at the reference point [1 1]. Properties not specified retain their default values.

example

The table below is a guide to using appropriate Properties with different splitRing shape types and number of rings.

PropertyNumRings = 2NumRings≠2 Type = 'Circle'Type is polygon
Name
Type
ReferencePoint
NumRings 
SideLength  
RingDiameter  
RingDiameterInner  
RingDiameterOuter  
SideLengthInner  
SideLengthOuter  
TraceWidth
SplitAngle 
SplitSide 
SplitGap

Properties

expand all

Name of the split-ring shape, specified as a character vector or string scalar.

Example: splitringshape = splitRing(Name='splitringshape1')

Data Types: char | string

Shape of split ring, specified as: 'Circle', 'Triangle', 'Square', 'Hexagon', or 'Octagon'.

Example: splitringshape = splitRing(Type='Hexagon')

Data Types: char

Reference point of the split-ring shape in Cartesian coordinates, specified as a two-element vector.

Example: splitringshape = splitRing(ReferencePoint=[1 1])

Data Types: double

Number of rings in the shape, specified as a positive scalar.

Example: rings = splitRing(NumRings = 4)

Data Types: positive integer

Side length of the split ring in meters, specified as a positive scalar.

Example: splitringshape = splitRing(SideLength=[1.4e-3 3.1e-3 5.2e-3 7.7e-3])

Note

The number of elements in SideLength must be the same as the number of rings as set in NumRings

Dependencies

To enable this property, set Type to 'Triangle', 'Hexagon', 'Square', or 'Octagon'.

Data Types: double

Diameter of the split ring in meters, when the Type is 'Circle', specified as a positive vector.

Example: splitringshape = splitRing(RingDiameter=[1.4e-3 3.1e-3 5.4e-3 7.8e-3])

Note

The number of elements in RingDiameter must be the same as the number of rings as set in NumRings

Dependencies

To enable this property, set Type to 'Circle'.

Data Types: double

Diameter of the inner ring in meters, when the Type is 'Circle', specified as a positive scalar.

Example: splitringshape = splitRing(RingDiameterInner=0.0025)

Note

UseRingDiameterInner only when NumRings is set to 2. Use RingDiameter when NumRings is not equal to 2.

Dependencies

To enable this property, set Type to 'Circle'.

Data Types: double

Diameter of the outer ring in meters, when Type is 'Circle', specified as a positive scalar.

Example: splitringshape = splitRing(RingDiameterOuter=0.0040)

Note

UseRingDiameterOuter only when NumRings is set to 2. Use RingDiameter when NumRings is not equal to 2.

Dependencies

To enable this property, set Type to 'Circle'.

Data Types: double

Side length of the inner ring in meters, specified as a positive scalar.

Example: splitringshape = splitRing(SideLengthInner=0.0025)

Note

UseSideLengthInner only when NumRings is set to 2. Use RingDiameter when NumRings is not equal to 2.

Dependencies

To enable this property, set Type to 'Triangle', 'Hexagon', 'Square', or 'Octagon'.

Data Types: double

Side length of the outer ring in meters, specified as a positive scalar.

Example: splitringshape = splitRing(SideLengthOuter=0.0030)

Note

UseSideLengthOuter only when NumRings is set to 2. Use RingDiameter when NumRings is not equal to 2.

Dependencies

To enable this property, set Type to 'Triangle', 'Hexagon', 'Square', or 'Octagon'.

Data Types: double

Width of all rings in meters, specified as a positive scalar.

Example: splitringshape = splitRing(TraceWidth=5.0000e-04)

Data Types: double

Angle of the split between the inner and outer ring in degrees, specified as a two-element vector.

Example: splitringshape = splitRing(SplitAngle=[10 10])

Note

The number of elements in SplitAngle must be the same as the number of rings as set in NumRings

Dependencies

To enable this property, set Type to 'Circle'.

Data Types: double

Side of the split between the inner and outer ring in meters, specified as a two-element vector.

Example: splitringshape = splitRing(SplitSide=[2 2])

Note

The number of elements in Splitside must be the same as the number of rings as set in NumRings

Dependencies

To enable this property, set Type to 'Triangle', 'Hexagon', 'Square', or 'Octagon'.

Data Types: double

Width of the split gap in all rings of the split ring in meters, specified as a positive scalar.

Example: splitringshape = splitRing(SplitSide=2.0000e-04)

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 a default split-ring shape.

splitringshape = splitRing
splitringshape = 
  splitRing with properties:

                 Name: 'mysplitring'
                 Type: 'Circle'
       ReferencePoint: [0 0]
             NumRings: 2
    RingDiameterInner: 0.0015
    RingDiameterOuter: 0.0030
           TraceWidth: 2.0000e-04
             SplitGap: 3.0000e-04
           SplitAngle: [0 0]

View the shape.

show(splitringshape)

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, mysplitring.

Create a hexagonal split ring.

splitringshape = splitRing('Type','Hexagon');
show(splitringshape)

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, mysplitring.

Mesh it with maximum edge length of 0.5 mm.

figure; mesh(splitringshape,'MaxEdgeLength',0.5e-3);

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

Create a four-ring split ring, then rotate it

s = splitRing(Type="Triangle",NumRings=4,SideLength=[1.5e-3 3e-3 5e-3 8e-3],SplitSide=[1 1 1 1])
s = 
  splitRing with properties:

              Name: 'mysplitring'
              Type: 'Triangle'
    ReferencePoint: [0 0]
          NumRings: 4
        SideLength: [0.0015 0.0030 0.0050 0.0080]
        TraceWidth: 2.0000e-04
          SplitGap: 3.0000e-04
         SplitSide: [1 1 1 1]

show(s)

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, mysplitring.

s = rotateZ(s,270)
s = 
  splitRing with properties:

              Name: 'mysplitring'
              Type: 'Triangle'
    ReferencePoint: [0 0]
          NumRings: 4
        SideLength: [0.0015 0.0030 0.0050 0.0080]
        TraceWidth: 2.0000e-04
          SplitGap: 3.0000e-04
         SplitSide: [1 1 1 1]

show(s)

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, mysplitring.

Version History

Introduced in R2023a