Plot a cylinder surface with axis along a line
Show older comments
How do i plot a cylinder with axis along a line? Say for example the axis of the cylinder should be 1,1,1.

Answers (1)
KSSV
on 29 Jun 2021
0 votes
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 Comment
VINAYAK VINAYAK
on 29 Jun 2021
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!