+ All Categories
Home > Documents > Trabajo Transformaciones Lineales

Trabajo Transformaciones Lineales

Date post: 10-Jan-2016
Category:
Upload: heberyeishonloaizacruz
View: 228 times
Download: 0 times
Share this document with a friend
Description:
trabajo de algebra lineal

of 12

Transcript

FACULTAD DE INGENIERIA CIVIL ALGEBRA LINEAL

UNIVERSIDAD NACIONAL DE SAN ANTONIO ABAD DEL CUSCOFACULTAD DE INGENIERIA CIVIL

ASIGNATURA:

ALGEBRA LINEATEMA:TAREADOCENTE: PAUCAR CARLOS GUILLERMOALUMNOS:

SEMESTRE: 2015 - ICUSCO PERU03 de JULIO del 2015

TRABAJO DE ALGEBRA LINEAL

>> %MODIFICACIN DE FIGURAS DEL PLANO POR MEDIO DE TRANSFORMACIONES LINEALES>> %DIBUJE LAS SIGUIENTES FIGURAS,RESPETANDO EL ORDEN EN EL QUE>> %ESTAN DADOS LOS VERTICES>> %2.1 EL TRINGULO>> X1=[-1 0 3 -1];Y1=[3 0 2 3];>> plot(X1,Y1)>> %el mismo ejercicio cambiando el orden de los vrtices>> hold on>> X=[3 0 2 3];Y=[-1 0 3 -1];>> plot(X,Y)>> hold off%EL PARALELOGRAMOX=[1 2 6 5 1 ];Y=[-2 1 1 -2 -2];plot(X,Y)hold onplot(Y,X)hold off%EL POLGONOX=[-3 -1 2 4 0 -3];Y=[0 2 2 2 -5 0];plot(X,Y)hold onplot(Y,X)hold off%ELJERCICIO 7P=[0 0 ]';Q=[2 5]';R=[6 3]';T=[P Q R P ];x=T(1,:);y=T(2,:);A=[3 0 ;0 1];I=A*T;hold onx1=I(1,:);y1=I(2,:);plot(x1,y1,'g')hold off>> P=[0 0 ]';Q=[2 5]';R=[6 3]';>> T=[P Q R P ];>> x=T(1,:);y=T(2,:);>> A=[3 0 ;0 1];>> B=[1 0 ;0 2];>> I1=A*T;I2=B*T;>> plot(x,y) >> hold on>> x1=I1(1,:);y1=I1(2,:);>> x2=I2(1,:);y2=I2(2,:);>> plot(x1,y1)>> plot(x2,y2)

S1=[2 -2 ]';S2=[2 7 ]';S3=[4 5]';S4=[2 3]';T=[S1 S2 S3 S4 S1];x=T(1,:);y=T(2,:);plot(x,y)>> A=[1 0 ;0 5];B=[-1 0;0 1];C=[cos(pi/3) -sin(pi/3);sin(pi/3) cos(pi/3)];>> I1=A*T;I2=B*T;I3=C*T;>> hold on>> x1=I1(1,:);y1=I1(2,:);>> x2=I2(1,:);y2=I2(2,:);>> x3=I3(1,:);y3=I3(2,:);>> plot(x1,y1)>> plot(x2,y2,'k')>> plot(x3,y3,'m')>> hold off>> >>>> R1=[1 5 ]';R2=[5 5]';R3=[5 1]';R4=[1 1]';>> T=[R1 R2 R3 R4 R1];>> x=T(1,:);y=T(2,:);>> plot(x,y)>> A=[1 1;1 -1];B=[2 -3 ; 0 5];>> I1=A*T;I2=B*T;>> hold on>> x1=I1(1,:);y1=I1(2,:);>> x2=I2(1,:);y2=I2(2,:);>> plot(x1,y1,'m')>> plot(x2,y2,'k')>> hold off>>>> R1=[2 3 -1]';R2=[5 0 -2]';R3=[4 -2 0]';T=[R1 R2 R3 R1];x=T(1,:);y=T(2,:);z=T(3,:);plot3(x,y,z)A=[1 0 0 ;0 1 0 ;0 0 -1];B=[-1 0 0;0 -1 0;0 0 1];C=[-1 0 0;0 -1 0; 0 0 -1];I1=A*T;I2=B*T;I3=C*T;hold onx1=I1(1,:);y1=I1(2,:);z1=I1(3,:);x2=I2(1,:);y2=I2(2,:);z2=I2(3,:);x3=I3(1,:);y3=I3(2,:);z3=I3(3,:);plot3(x1,y1,z1,'m')plot3(x2,y2,z2,'k')plot3(x3,y3,z3,'b') >> P=[2 4 0 ]';Q=[-1 6 0]';R=[0 2 0]';P=[2 4 0]';S=[0 4 5]';R=[0 2 0]';Q=[-1 6 0]';S=[0 4 5]';>> T=[P Q R P S R Q S P];>> x=T(1,:);y=T(2,:);y=T(3,:);>> plot3(x,y,z)Undefined function or variable 'z'. >> x=T(1,:);y=T(2,:);z=T(3,:);>> plot3(x,y,z)>> A=[cos(pi/3) -sin(pi/3) 0;sin(pi/3) cos(pi/3) 0 ; 0 0 1];>> B=[1 0 0 ;0 cos(pi/6) -sin(pi/6) ;0 sin(pi/6) cos(pi/6)];>> C=[cos(pi/4) 0 -sin(pi/4) ;0 1 0 ;sin(pi/4) 0 cos(pi/4)]

C =

0.7071 0 -0.7071 0 1.0000 0 0.7071 0 0.7071

>> I1=A*T;I2=B*T;I3=C*T;>> hold on>> x1=I1(1,:);y1=I1(2,:);z1=I1(3,:);>> x2=I2(1,:);y2=I2(2,:);z2=I2(3,:);>> x3=I3(1,:);y3=I3(2,:);z3=I3(3,:);>> plot3(x1,y1,z1,'g')>> plot3(x2,y2,z2,'k')>> plot3(x3,y3,z3,'m')>>1


Recommended