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 ExchangeObject Containers についてさらに検索

質問済み:

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