How to plot in R3 the Curve?

3 visualizaciones (últimos 30 días)
GURPREET
GURPREET el 1 de Ag. de 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.

Respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by