What is the unit of the translation component of the procrustes algorithm/function?

2 views (last 30 days)
I use the procrustes function for two matrices and I want to get the translational component. I have the vector for the translational component, but I want to know the unit of the vector? Is it the same is my input? So if I have a matrix with positions in millimeters, my translational component is also in millimeters?

Answers (1)

Div Tiwari
Div Tiwari on 13 Dec 2017
Yes, the units are the same as that of the input.
I presume that the translational component you are referring to is given by 'transform.c' when executing '[d,Z,transform] = procrustes(X,Y)'. As the documentation shows, Z = b*Y*T + c, which implies that 'c' has the same units as the transformed values in 'Z' and therefore the same units as 'X' and 'Y'.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!