CIRCUMCENTER Circumcenter of three points.
CC = circumCenter(P1, P2, P3)
Example
A = [10 10]; B = [30 10]; C = [10 20];
circumCenter(A, B, C)
ans =
20 15
% works also for multiple input points
circumCenter([A;A;A], [B;B;B], [C;C;C])
ans =
20 15
20 15
20 15
See also
points2d, circles2d, circumCircle, centroid
Package: matgeom