Tangent Circle Centres
Version 1.0.0 (2.32 KB) by
Brunno Machado de Campos
Giving two points and a ratio, the function will output the two possible centres of the tangent circles.
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
Cite As
Brunno Machado de Campos (2026). Tangent Circle Centres (https://www.mathworks.com/matlabcentral/fileexchange/68725-tangent-circle-centres), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Particle & Nuclear Physics in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
