How to plot in R3 the Curve?

3 visualizzazioni (ultimi 30 giorni)
GURPREET
GURPREET il 1 Ago 2012
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.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by