# Average of data-points

I am trying to solve clustering problem. After step 1 i.e putting each data-point to a cluster now I want to calculate the mean or average of all of the data-points in a specific cluster. let suppose I have some data-points like A(2,3), B(4,5), C(6,7), D(8,9) in a cluster. How can I calculate their average?

If so, then average each coordinate separately to get the center of mass $C$
You can then compute average distance from the center of mass $C$ above, or compute all pairwise distances in the cluster and average those.