필터 지우기
필터 지우기

How to make a solid of revolution using a function

조회 수: 10 (최근 30일)
Fernando Moreno
Fernando Moreno 2022년 3월 9일
답변: Torsten 2022년 3월 9일
Im trying to plot a 2d function into a 3d one making it into a solid of revolution but Im not getting right at all, is there any way to do it?
The solid of revolution needs to be done by spinning it in the y axis
syms x
y1=sqrt(1-x^3)
figure(34)
hold on
fplot(y1,[0,1])
yline(0)
xline(0)
hold off
syms x
figure(342)
fsurf(y1,x,x,[0,1])

답변 (1개)

Torsten
Torsten 2022년 3월 9일

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by