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

 Respuesta aceptada

Mike Garrity
Mike Garrity el 1 de Oct. de 2015

3 votos

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 comentario

Mr M.
Mr M. el 3 de Oct. de 2015
Editada: Mr M. el 3 de Oct. de 2015
thanks, this makes sense, however it is strange that homogeneous coordinates are not mentioned in the original description page

Iniciar sesión para comentar.

Más respuestas (1)

Thorsten
Thorsten el 1 de Oct. de 2015
Editada: Thorsten el 1 de Oct. de 2015
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/

Categorías

Más información sobre Geoscience en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 1 de Oct. de 2015

Editada:

el 3 de Oct. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by