ayham87
Newbie level 6
Dear friends,
I am trying to draw three ellipsis separated by 120 degree as in the below picture by matlab in the same graph
but i stuck how to complete my code, i started with one ellipse as below
please help
I am trying to draw three ellipsis separated by 120 degree as in the below picture by matlab in the same graph
but i stuck how to complete my code, i started with one ellipse as below
please help
Code:
xCenter = 12.5;
yCenter = 10;
xRadius = 2.5;
yRadius = 8;
theta = 0 : 0.01 : 2*pi;
x = xRadius * cos(theta) + xCenter;
y = yRadius * sin(theta) + yCenter;
plot(x, y, 'LineWidth', 3);
axis square;
xlim([0 20]);
ylim([0 20]);
grid on;