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

6 ビュー (過去 30 日間)
浩思
浩思 2022 年 12 月 18 日
編集済み: 浩思 2022 年 12 月 29 日
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 Center および File ExchangeFormula Manipulation and Simplification についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by