Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please solve in matlab The matrix is called a rotation matrix since it can be used for rotating vectors (or points) in the xy-plane counter-clockwise

Please solve in matlab

The matrix

is called a rotation matrix since it can be used for rotating vectors (or points) in the xy-plane counter-clockwise through an angle about the origin. If (x, y) is a point in the plane, and is a vector containing the coordinates of this point, then the entries of the vector will contain the coordinates of the rotated point. Consider a polygon with vertices (0, 0), (0, 0.5), (-0.3, 0.5), (0.2, 1), (0.7, 0.5), (0.4, 0.5), (0.4, 0). Make a plot of this polygon in Matlab using the fill function. Rotate this polygon by an angle of 53 degrees using matrix-vector multiplication in Matlab with an appropriately chosen rotation matrix R. Make another plot of the rotated polygon using fill. Check whether your answer makes sense!

image text in transcribed

The matrix R ose -sin el sin cos is called a rotation matrix since it can be used for rotating vectors (or points) in the xy.plane counter-clockwise through an angle about the origin. If X. y) is a point in the plane, and X'=xy' is a vector containing the coordinates of this point, then the entries of the vector X=Rx will contain the coordinates of the rotated point. Consider a polygon with vertices (0,0), (0, 0.5).(-0.3, 0.5), (0.2, 1), (0.7.0.5), (0.4, 0.5), (0.4, 0). Make a plot of this polygon in Matlab using the fill function. Rotate this polygon by an angle of 53 degrees using matrix-vector multiplication in Matlab with an appropriately chosen rotation matrix R. Make another plot of the rotated polygon using fill. Check whether your answer makes sense! The matrix R ose -sin el sin cos is called a rotation matrix since it can be used for rotating vectors (or points) in the xy.plane counter-clockwise through an angle about the origin. If X. y) is a point in the plane, and X'=xy' is a vector containing the coordinates of this point, then the entries of the vector X=Rx will contain the coordinates of the rotated point. Consider a polygon with vertices (0,0), (0, 0.5).(-0.3, 0.5), (0.2, 1), (0.7.0.5), (0.4, 0.5), (0.4, 0). Make a plot of this polygon in Matlab using the fill function. Rotate this polygon by an angle of 53 degrees using matrix-vector multiplication in Matlab with an appropriately chosen rotation matrix R. Make another plot of the rotated polygon using fill. Check whether your answer makes sense

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Programming Languages 12th International Symposium Dbpl 2009 Lyon France August 2009 Proceedings Lncs 5708

Authors: Philippa Gardner ,Floris Geerts

2009th Edition

3642037925, 978-3642037924

More Books

Students also viewed these Databases questions