Why makehgtform creates 4x4 matrices? Why not 3x3?

 Akzeptierte Antwort

Mike Garrity
Mike Garrity am 1 Okt. 2015

3 Stimmen

Actually, I just put a post on the MATLAB Graphics blog which tells the story of why they're 4x4 matrices. You can check it out here.

1 Kommentar

Mr M.
Mr M. am 3 Okt. 2015
Bearbeitet: Mr M. am 3 Okt. 2015
thanks, this makes sense, however it is strange that homogeneous coordinates are not mentioned in the original description page

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Thorsten
Thorsten am 1 Okt. 2015
Bearbeitet: Thorsten am 1 Okt. 2015

1 Stimme

Rotation and scaling transformation matrices only require three columns. But, in order to do translation, the matrices need to have at least four columns. This is why transformations are often 4x4 matrices. from http://www.tomdalling.com/blog/modern-opengl/explaining-homogenous-coordinates-and-projective-geometry/

Kategorien

Mehr zu Object Containers finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 1 Okt. 2015

Bearbeitet:

am 3 Okt. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by