MATLAB: How could I get the coordinates of the circumscribed circle giving the 3 points coords

circleequationsolve

Hi All
I have the coordinates of 3 points thrgouh which, a circle should pass . Having the coordinates of the points in 3D, how could I have the coordinates of the center of circumscribed circle ?
also : if one of the points has some deviations and causes a circumscribed circle couldn't pass through the 3 points, is there a way to determine the required coordinates of the third point in a way that the circle could be constructed to find the deviation in space ?
Related Question