Change size of RF PCB shape by fixed amount
c = scale(
scales the shape by a constant factor with respect to the reference point. The
reference point is ignored if the shape is symmetrical and scale is performed based
on centroid. The reference point is considered if the shape is unsymmetrical and
scale is performed based on specified reference point.
Resize Shape by Scale Factor
Create a shape consisting of a curve and a right angle U-bend.
shape1 = curve; shape2 = ubendRightAngle(Length=[5 18 5]*1e-3,ReferencePoint=[0 -5]*1e-3); shapeSum = shape1+shape2;
Display the shape.
Specify a scale factor, then resize the shape. Display the result.
s = 1.5e-3; shapeTrans = scale(shapeSum,s); show(shapeTrans)
scaleFactor — Scaling factor
Scaling factor to change shape size, specified as a scalar.
Introduced in R2021b