Clear Filters
Clear Filters

How to plot in R3 the Curve?

1 view (last 30 days)
GURPREET
GURPREET on 1 Aug 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.

Answers (0)

Categories

Find more on Computational Geometry in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!