How to plot in R3 the Curve?

조회 수: 3 (최근 30일)
GURPREET
GURPREET 2012년 8월 1일
Here is what i have so far.
x = -2.5:.1:2.5;
y = -2.5:.1:2.5;
[X,Y] = meshgrid(x,y);
Z = 2*sin(X.*Y);
surf(X,Y,Z)
grid on
hold on
My = [1/2 sqrt(3)/2 0; -sqrt(3)/2 1/2 0; 0 0 1;]
Mr = [sqrt(2)/2 0 -sqrt(2)/2; 0 1 0; sqrt(2)/2 0 sqrt(2)/2;]
Mp = [1 0 0; 0 sqrt(3)/2 1/2; 0 -1/2 sqrt(3)/2]
So I have the figure that looks like a flower in the first part and i called that Surface (S). Now i have to plot My Mr Mp S. And Animate.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by