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

I cannot found the answer on its description page. Why? This is so obvious??

 채택된 답변

Mike Garrity
Mike Garrity 2015년 10월 1일

3 개 추천

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

Mr M.
Mr M. 2015년 10월 3일
편집: Mr M. 2015년 10월 3일
thanks, this makes sense, however it is strange that homogeneous coordinates are not mentioned in the original description page

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Thorsten
Thorsten 2015년 10월 1일
편집: Thorsten 2015년 10월 1일

1 개 추천

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/

카테고리

도움말 센터File Exchange에서 Geoscience에 대해 자세히 알아보기

질문:

2015년 10월 1일

편집:

2015년 10월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by