How to formulate the following matrices?
2 views (last 30 days)
Show older comments
How to formulate the following matrices? (which is called the transformation matrices)
Theta is the degree angle which stored in file 'Angles' ,,, x,y is the origins which stored in file origin
T = [cos(theta(i)) -sin(theta(i)) x(i)
sin(theta(i)) cos(theta(i)) y(i)
0 0 1]
2 Comments
Image Analyst
on 18 May 2022
Edited: Image Analyst
on 18 May 2022
You formulated a matrix T. What's the problem? Explain in more detail after reading this:
For example you might include a diagram to show what needs to be rotated.
FYI
Accepted Answer
Matt J
on 18 May 2022
T=makehgtform('translate',[x(i),y(i),0],'zrotate',theta(i));
T=T([1,2,4],[1,2,4])
0 Comments
See Also
Categories
Find more on Read, Write, and Modify Image 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!