Why makehgtform creates 4x4 matrices? Why not 3x3?
3 views (last 30 days)
Show older comments
I cannot found the answer on its description page. Why? This is so obvious??
0 Comments
Accepted Answer
Mike Garrity
on 1 Oct 2015
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.
More Answers (1)
Thorsten
on 1 Oct 2015
Edited: Thorsten
on 1 Oct 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/
0 Comments
See Also
Categories
Find more on Cartesian Coordinate System Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!