Help CenterHelp Center
Rotate RF PCB shape about x-axis
Since R2021b
c = rotateX(shape,angle)
example
c = rotateX(shape,angle) rotates a shape by the specified angle about the x-axis.
shape
angle
collapse all
Create and display a spiral trace.
trace = traceSpiral; show(trace)
Rotate the spiral trace by 45 degrees about the x-axis.
traceRotX = rotateX(trace,45);
Display the rotated shape. Set the camera line of sight to display in 3-D space.
show(traceRotX) view(60,10)
RF PCB shape created using custom elements and shape objects of RF PCB Toolbox™, specified as an object.
Example: shape = bendCurved; specifies the shape as a bendCurved object.
shape = bendCurved;
bendCurved
Angle of rotation, specified as a scalar in degrees.
Example: 45 rotates the shape around the x-axis by 45 degrees.
45
Data Types: double
double
Introduced in R2021b
add | subtract | area | intersect | rotate | rotateY | rotateZ | translate | show | mesh | plot | scale
add
subtract
area
intersect
rotate
rotateY
rotateZ
translate
show
mesh
plot
scale
Si dispone di una versione modificata di questo esempio. Desideri aprire questo esempio con le tue modifiche?
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office