plotting Solid of revolution of a function
19 次查看(过去 30 天)
显示 更早的评论
Im trying to make a plot of a solid of revolution using a function but I don't knwo how to do it
In the plot the solid of revolution needs to be in base of the x axis in [0, pi]
syms x
y=sin(x)
hold on
fplot(y,[0,pi])
xline(0)
xline(pi)
yline(0)
hold off
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!