Main Content

bendMitered

Create mitered bend shape on X-Y plane

Since R2021b

Description

Use the bendMitered object to create a mitered bend shape on the X-Y plane.

Note

This shape object supports behavioral modeling. For more information, see Behavioral Models.

Creation

Description

bend = bendMitered creates a mitered bend shape on the X-Y plane.

example

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

example

Properties

expand all

Name of the mitered bend shape, specified as a character vector or a string scalar.

Example: bend = bendMitered(Name="bendmitered1")

Data Types: char

Reference point for the mitered bend shape in Cartesian coordinates, specified as a two-element vector.

Example: bend = bendMitered(ReferencePoint=[1 2])

Data Types: double

Length of the mitered bend shape in meters, specified as a two-element vector.

Example: bend = bendMitered(Length=[0.005 0.005])

Data Types: double

Width of the mitered bend shape in meters, specified as a two-element vector.

Example: bend = bendMitered(Width=[1 1])

Data Types: double

Length of the miter diagonal in meters, specified as a positive scalar.

Example: bend = bendMitered(MiterDiagonal=2)

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 mitered bend with default properties.

bend = bendMitered
bend = 
  bendMitered with properties:

              Name: 'myMiteredbend'
    ReferencePoint: [0 0]
            Length: [0.0100 0.0100]
             Width: [0.0050 0.0050]
     MiterDiagonal: 0.0035

View the shape.

show(bend)

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

Create a mitered bend shape of lengths of 10 m and 2 m, width of 2 m, and rotate it about the Z-axis by 60 degrees.

bend = bendMitered(Length=[10 2],Width=[2 2],MiterDiagonal=1);
bend = rotateZ(bend,60)
bend = 
  bendMitered with properties:

              Name: 'myMiteredbend'
    ReferencePoint: [0 0]
            Length: [10 2]
             Width: [2 2]
     MiterDiagonal: 1

show(bend)

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

Mesh the mitered bend shape at a maximum edge length of 1 m.

mesh(bend,MaxEdgeLength=1)

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

Create mitered bend microstrip.

m = design(microstripLine,6e9,"Z0",75);
layer2d = bendMitered('Length',[m.Length/2 m.Length/2],...
"Width",[m.Width m.Width],'MiterDiagonal',sqrt(2)*m.Width);
robj = pcbComponent(layer2d);
robj.BoardThickness = m.Substrate.Thickness;
robj.Layers{2} = m.Substrate;
show(robj)

Figure contains an axes object. The axes object with title pcbComponent element, xlabel x (mm), ylabel y (mm) contains 7 objects of type patch, surface. These objects represent PEC, feed, Teflon.

Compute and plot s-parameters.

freq = (1:2:60)*100e6;
Sckt = sparameters(robj,freq,'Behavioral',true);
Sem = sparameters(robj,freq);
rfplot(Sckt,1,1,'db','-s')
hold on
rfplot(Sem,1,1,'db','-x')

Figure contains an axes object. The axes object with xlabel Frequency (GHz), ylabel Magnitude (dB) contains 2 objects of type line. These objects represent dB(S_{11}).

Reference:

M. Kirschning, R. H. Jansen and N. H. L. Koster, "Measurement and Computer-Aided Modeling of Microstrip Discontinuities by an Improved Resonator Method," 1983 IEEE MTT-S International Microwave Symposium Digest, Boston, MA, USA, 1983, pp. 495-497, doi: 10.1109/MWSYM.1983.1130959.

Version History

Introduced in R2021b