Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Uses MATLAB can anyone help with codes for exercises 5 and 6? Thanks! and c2 units vertically. In homogeneous coordinates the translated vector is (1+C1,2

Uses MATLAB can anyone help with codes for exercises 5 and 6? Thanks! image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
and c2 units vertically. In homogeneous coordinates the translated vector is (1+C1,2 + 2, 1). We need a matrix M such that It is easy to verify that the matrix has the desired property EXAMPLE 7 We will apply a horizontal translation of 3 units and a vertical translation of 1 unit. The matrix that 'accomplishes that is M-10 11 . apply the transformiation to the square S, we will need to 1 convert the square to homogeneous coordinates. This is done by adding a row of ones to the matrix S so that the new matrix is S = | 0 0 1 1 01, we can plot the original square together with the translated version by executing the following commands: 0 1 1 0 0 clf S= [0,1,1,0,0;0,0,1,1,0:1,1,1,1,1); %square in homogeneous coordinates Mr(1,0,3:0, 1, 1:0,0,1); %translation matrix MS-M S; plot (S (1, :),S(2, :),'k' ,'linewidth', 2); %plot the original square in black hold orn plot (MS (I': ), MS (2, :),'r','linewidth',2); % plot the translated square in red % apply the translation to the square

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_2

Step: 3

blur-text-image_3

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

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions

Question

5. If yes, then why?

Answered: 1 week ago

Question

What is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago