필터 지우기
필터 지우기

Need values for the Astroid generated in MATLAB

조회 수: 3 (최근 30일)
Deepak Goel
Deepak Goel 2023년 5월 11일
댓글: Deepak Goel 2023년 5월 11일
Hello
I am a newbie.
I ran the following script to generate an Astroid:
syms x(t) y(t) z(t)
x(t) = sin(t);
y(t) = cos(t);
z(t) = cos(2*t);
fplot3(x,y,z)
It does generate the curve. However I would like to know all the values generated to plot the curve.
How can I do that?
Please advise.
Thank You.

답변 (1개)

Chunru
Chunru 2023년 5월 11일
편집: Chunru 2023년 5월 11일
syms x(t) y(t) z(t)
x(t) = sin(t);
y(t) = cos(t);
z(t) = cos(2*t);
% specify the t interval
fplot3(x,y,z, [-pi pi])

카테고리

Help CenterFile Exchange에서 Formula Manipulation and Simplification에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by