Giving two points and a ratio, the function will output the two possible centres of the tangent circles. So far it's working for all tested combination os points, with a good resolution (small values).
Example:
P1 = [11,10];
P1 = [13,17];
Ratio = 30
plotB = 1
[C1,C2] = TanCircCenters(P1,P2,Ratio,plotB)
Output:
C1 = 9.6559 46.8130
C2 = 21.3371 -11.8183
引用格式
Brunno Machado de Campos (2025). Tangent Circle Centres (https://www.mathworks.com/matlabcentral/fileexchange/68725-tangent-circle-centres), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2017b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Particle & Nuclear Physics 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |