Main Content

traceStep

Create step trace in XY plane

Since R2022a

Description

Use the traceStep object to create a step trace in the XY plane.

Creation

Description

example

trace = traceStep creates a step trace in the XY plane.

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

Properties

expand all

Name of the step trace, specified as a character vector or a string scalar.

Example: trace = traceStep(Name="traceStep")

Data Types: char | string

X and Y coordinate of the step trace in meters, specified as a two-element vector of real elements.

Example: trace = traceStep(ReferencePoint=[1 1])

Data Types: double

Length of each section of the step trace in meters, specified as a vector of positive elements.

Example: trace = traceStep(Length=[0.0300 0.0200 0.0230])

Data Types: double

Width of each section of the step trace in meters, specified as a vector of positive elements.

Example: trace = traceStep(Width=[0.0060 0.0060 0.0080])

Data Types: double

Symmetry of the step trace along the X-axis, specified as 1 or 0. If set to 1, symmetry is enabled. Set the property to 1 to create a symmetric step trace and to 0 to create a nonsymmetric step trace.

Example: trace = traceStep(Symmetry=0)

Data Types: logical

Object Functions

addBoolean unite operation on two RF PCB shapes
subtractBoolean subtraction operation on two RF PCB shapes
intersectBoolean intersection operation on two RF PCB shapes
plusShape1 + Shape2 for RF PCB shapes
minusShape1 - Shape2 for RF PCB shapes
andShape1 & Shape2 for RF PCB shapes
areaCalculate area of RF PCB shape in square meters
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
translateMove RF PCB shape to new location
scaleChange size of RF PCB shape by fixed amount

Examples

collapse all

Create a step trace with default values.

trace = traceStep
trace = 
  traceStep with properties:

              Name: 'mytraceStep'
    ReferencePoint: [0 0]
            Length: [0.0050 0.0280 0.0260]
             Width: [0.0020 0.0050 0.0090]
          Symmetry: 1

Visualize the step trace.

show(trace)

Create a nonsymmetrical stepped trace.

trace = traceStep;
trace.Symmetry = 0;

Rotate the step trace by 180 degrees about the Z-axis.

trace = rotateZ(trace,180);

Visualize the step trace.

show(trace)

Version History

Introduced in R2022a