MATLAB CODING

User Generated

jnyrrqfnvq

Programming

Description

Objective: During our class time, we had a discussion on Linear Transformation. Out of many interesting

linear transformations, 3 Linear Transformations are widely used in the world of Computer Graphic - ,

Scale, Rotation, and Translation.

Use Matlab to draw the picture given below (https://screenrant.com/dragon-ball-z-characters-even-

weaker-than-krillin/)

You can use demo.m file as a base for your script.

Conditions on your submission

1) Cover Page with name

2) Pseudocode

3) Matlab Script

4) Comment on your Matlab Script on how you implemented Scaling, Rotatiting, and translating

(with all numerical factors as well)

5) Comment on your Matlab Script on creating the Eye brows, mouth, and blushes on the face.

6) Your plot result.

Unformatted Attachment Preview

EGN 3420 COMPUTER ASSIGNMENT 1 (Due by 11: 59 pm Apr. 6th, 2018) Objective: During our class time, we had a discussion on Linear Transformation. Out of many interesting linear transformations, 3 Linear Transformations are widely used in the world of Computer Graphic - , Scale, Rotation, and Translation. Use Matlab to draw the picture given below (https://screenrant.com/dragon-ball-z-characters-evenweaker-than-krillin/) You can use demo.m file as a base for your script. Conditions on your submission 1) 2) 3) 4) Cover Page with name Pseudocode Matlab Script Comment on your Matlab Script on how you implemented Scaling, Rotatiting, and translating (with all numerical factors as well) 5) Comment on your Matlab Script on creating the Eye brows, mouth, and blushes on the face. 6) Your plot result. figure(1) x(1:2,1)=[1;0]; plot(x(1), 4(2),'*'); grid on; hold on; axis ( [-15 15 -15 15]); Inc=5; k=1; for j=1: Inc:360; x(1:2, k+1)=[cosd(Inc) -sind (Inc); sind (Inc) cosd (Inc)]*x(1:2,k); plot(x(1, k+1), x(2, k+1), '^'); k=k+1; %pause(); end k=1; for j=1:Inc:360; y1(1:2, k)=[1.5 0;0 3] *x(1:2,k); plot(y1(1,k),y1(2,k), '^') k=k+1; %pause(0.1); end k=1; for j=1:Inc:360; y2(1:2, k)=[3 0;0 1.5] *x(1:2,k)+[7;5]; plot(y2(1,k),y2(2,k), "^') k=k+1; %pause(0.1); end figure(1) x(1:2,1)=[1;0]; plot(x(1), 4(2),'*'); grid on; hold on; axis ( [-15 15 -15 15]); Inc=5; k=1; for j=1: Inc:360; x(1:2, k+1)=[cosd(Inc) -sind (Inc); sind (Inc) cosd (Inc)]*x(1:2,k); plot(x(1, k+1), x(2, k+1), '^'); k=k+1; %pause(); end k=1; for j=1:Inc:360; y1(1:2, k)=[1.5 0;0 3] *x(1:2,k); plot(y1(1,k),y1(2,k), '^') k=k+1; %pause(0.1); end k=1; for j=1:Inc:360; y2(1:2, k)=[3 0;0 1.5] *x(1:2,k)+[7;5]; plot(y2(1,k),y2(2,k), "^') k=k+1; %pause(0.1); end
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hey buddy, that's the job. As you can see its not fully complete but a complete one will be sent to you shortly. I ask for your understanding as this task is not an easy one

Student’s Name:

Institution:

Professor:

figure(1)
x(1:2, 1) = [1;0];
plot(x(1), x(2), '*');
grid on; hold on;
axis([-15 15 -15 15]);
Inc = 5;
k = 1;
for j = 1: Inc: 360;
x(1:2, k+1) = [cosd(Inc) - sind(Inc) cosd(Inc)] * x(1:2, k);
plot(x(1, k+1), x(2, k+1), '^');
k = k + 1;
%pause();
end
k = 1;
for j = 1: Inc:360;
y1(1:2, k) = [1.5 0; 0 3] * x(1:2, k);
plot(y1(1,k), y1(2,k), '^')
k= k + 1;
%pause(0,1);
end
k = 1;
for j = 1:Inc:360;
y2(1:2,k) ...


Anonymous
I was having a hard time with this subject, and this was a great help.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags