Home > other >  Matlab rookie request guidance!
Matlab rookie request guidance!

Time:09-18

CLC
Close all
Figure;
T=PI + : PI/2-0.01: PI/2.
X=1 + 1 * cos (t);
Y=10 + 10 * sin (t);
Plot (x, y, 'color', [0.2 0 0], 'our linewidth, 3);
The axis equal;
Pause (2);
hold on;
T=0-0. 01:2 * PI;
X=10 * cos (t);
Y=3 * sin (t);
For I=1
hold on; %
Q=(x, y),
E=PI/5 * I;
Z=[cos (e) - sin (e), sin (e) cos (e)];
K=z * q;
R=k (1, :);
D=k (2, :);
The fill (r, d, 'y');
Plot (r, d, 'y', 'our linewidth, 5);
The axis square; %
Pause (1);
End
hold on;
X=3 * cos (t);
Y=3 * sin (t);
Patch (x, y, [0.2 0 0]).
Anyone who can speak in detail the first a % % to the second code, has been the last patch is why ah, niche in this thanked!!!!!!

CodePudding user response:

I'll probably run, intermediate between two % should be used to draw the petals, you can try to fill... And the plot... One of the 'y' to 'r' is a red flower, ha, ha, ha, the last patch can change the color of the flower, oh

CodePudding user response:

reference 1/f, we in the road, and are set off response:
I probably run once, in the middle between two % should be used to draw the petals, you can try to fill. And the plot... One of the 'y' to 'r' is a red flower, ha, ha, ha, finally the patch can change the color of the flower oh

Thank you!
  • Related