How to draw the dynamic diagram of the required moving point trajectory?

4 次查看(过去 30 天)
It is known that circle M: (x+1) ^ 2+y ^ 2=1, circle N: (x-1) ^ 2+y ^ 2=25, dynamic circle P is circumscribed by circle M and inscribed by circle N, and the locus of circle center P is curve C. It is required to draw two fixed circles M and N, and show the track of the center P in the form of a dynamic graph, that is, show the track of P as an ellipse in the form of a moving point P.

回答(1 个)

浩思
浩思 2022-12-29
编辑:浩思 2022-12-29
I completed the first small step of the goal myself.
Use the following code to draw a circle (the first circle given in the title)
The second step is how to draw two circles into the same coordinate system?
syms x y r
x = -1 ;
y = 0;
r = 1;
rectangle('Position',[x-r,y-r,2*r,2*r],'Curvature',[1,1],'EdgeColor','m')

类别

Help CenterFile Exchange 中查找有关 Formula Manipulation and Simplification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by