"Roger Stafford" wrote in message <email@example.com>... > "Anusha " <firstname.lastname@example.org> wrote in message <email@example.com>... > > I have two sets of 3d points (in x,y,z) coordinates. How can I align these two points into a same reference point, maybe using a centroid? > > > > Thanks > - - - - - - - - - > You may be interested in matlab's 'procrustes' function in the Statistics Toolbox. It determines the linear transformation of one set of points to another set that produces the least sum of squares differences between the two sets. > > Roger Stafford
But I have different number of point for set A and set B. Can procrustes can be done on this case? I prefer to align them to a standard coordinate system, let say mayb on a given center of gravity.