Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This question is based on MATLAB there are a-f small parts in this question Thank you so much in advance! (a) (1 mark) Create a

This question is based on MATLAB there are a-f small parts in this question
Thank you so much in advance!
image text in transcribed
(a) (1 mark) Create a matrix V with two columns in which every row represents a vertex of an irregular polygon. For example V= [00; 1 0; O 1; 1 1] represents a square (4 vertices). Note that it is expected that each student creates a different polygon. (b) (1 mark) Using MATLAB's polyshape command and your matrix V, create a polyshape called p and plot it. (c) (1 mark) Apply a dilation matrix to your matrix V, Vd=V*[2 0; 0 2). Create a polyshape using the transformed matrix Vd and plot it. (d) (2 marks) Rotate your polygon counterclockwise by and plot the result. (e) (2 marks) Horizontally shear your polygon by a factor of 1 to the right and plot the result. (f) (3 marks) Plot the polygon which results from applying the horizontal shear in part (e) followed by the rotation in part (d)

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

More Books

Students also viewed these Databases questions

Question

Use a three-step process to develop effective business messages.

Answered: 1 week ago