From: Vince on
Is there a quick way in matlab to solve for a 4x4transformation matrix?
I have an array of three '3-element' vectors, denoting a x,y,z coordinate of a particle (so basically each element of the array is a 3x3 matrix that defines the position and orientation of a particle, or in other words Local coordinate system)
Each element represents the particle at a certain time, starting at 0 to n.
I'm trying to solver for the transformation matrix that is necessary to change from position/orientation at t=0 to t=1 ....t=n-1 to t=n

t(1)=T * t(0)

I'm wondering if there's a quick and easy way to solver for T (since many iterations are needed).
From: Matt J on
"Vince" <fefnirator(a)gmail.com> wrote in message <hj4vds$skm$1(a)fred.mathworks.com>...
> Is there a quick way in matlab to solve for a 4x4transformation matrix?
> I have an array of three '3-element' vectors, denoting a x,y,z coordinate of a particle (so basically each element of the array is a 3x3 matrix that defines the position and orientation of a particle, or in other words Local coordinate system)
> Each element represents the particle at a certain time, starting at 0 to n.
> I'm trying to solver for the transformation matrix that is necessary to change from position/orientation at t=0 to t=1 ....t=n-1 to t=n
>
> t(1)=T * t(0)
>
> I'm wondering if there's a quick and easy way to solver for T (since many iterations are needed).

This might help:

http://www.mathworks.com/matlabcentral/fileexchange/26186-absolute-orientation-horns-method
From: Vince on
Matt,

Thank you very much, just what I needed

"Matt J " <mattjacREMOVE(a)THISieee.spam> wrote in message <hj50c8$3v$1(a)fred.mathworks.com>...
> "Vince" <fefnirator(a)gmail.com> wrote in message <hj4vds$skm$1(a)fred.mathworks.com>...
> > Is there a quick way in matlab to solve for a 4x4transformation matrix?
> > I have an array of three '3-element' vectors, denoting a x,y,z coordinate of a particle (so basically each element of the array is a 3x3 matrix that defines the position and orientation of a particle, or in other words Local coordinate system)
> > Each element represents the particle at a certain time, starting at 0 to n.
> > I'm trying to solver for the transformation matrix that is necessary to change from position/orientation at t=0 to t=1 ....t=n-1 to t=n
> >
> > t(1)=T * t(0)
> >
> > I'm wondering if there's a quick and easy way to solver for T (since many iterations are needed).
>
> This might help:
>
> http://www.mathworks.com/matlabcentral/fileexchange/26186-absolute-orientation-horns-method