- /
-
Drawing an elephant with four complex parameters
on 4 Oct 2021
- 2
- 169
- 0
- 0
- 191
u = [0 0 0 -12 0 14];
v = [0 -50 -18 0 0 0];
p = [0 -60 0 0 0 0];
q = [0 -30 8 -10 0 0];
t = linspace(0, 2*pi, 1000);
T = kron(t, (0:5)');
x = p * cos(T) + q * sin(T);
y = u * cos(T) + v * sin(T);
plot(x, y);