Plot a cylinder surface with axis along a line
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How do i plot a cylinder with axis along a line? Say for example the axis of the cylinder should be 1,1,1.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/668748/image.png)
0 Kommentare
Antworten (1)
KSSV
am 29 Jun. 2021
Read about the function cylinder. This will give you cylinder. Define your rotation marix, with the required angle and rotate the cylinder using this matrix.
1 Kommentar
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!