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

5 Ansichten (letzte 30 Tage)
浩思
浩思 am 18 Dez. 2022
Bearbeitet: 浩思 am 29 Dez. 2022
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.

Antworten (1)

浩思
浩思 am 29 Dez. 2022
Bearbeitet: 浩思 am 29 Dez. 2022
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')

Kategorien

Mehr zu Formula Manipulation and Simplification finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by