Finding Affine Transform with Linear Least Squares

\( \)

linear least squares is a method of fitting a model to data in which the relation between data and unknown paramere can be expressed in a linear form.
\( Ax=b\)
\( X^{*}= \underset{x}{\mathrm{argmin}}= \|Ax-b\|^{2} =(A^{T}A)^{-1}A^{T}b \)

And testing the code:

 

0 0 votes
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Aaron Abela
Aaron Abela
4 years ago

Hi! What format of the affine matrix for M is being used please? Is it rotation and translation ? Would truly appreciate your help.

zhigang
zhigang
4 years ago

hi, can use X=pinv(A)*B when A’s rank > 6 ? if can, why need use (𝐴^𝑇𝐴)^−1A^Tb

3
0
Would love your thoughts, please comment.x
()
x