15.04.2013 Views

Transformações Lineares de Rn em Rm - deetc

Transformações Lineares de Rn em Rm - deetc

Transformações Lineares de Rn em Rm - deetc

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

T R A N S F O R M A Ç Õ E S L I N E A R E S D E R N E M R M A L G E B R A – T U R M A L R 1 1 D<br />

MatLab. <strong>Transformações</strong> <strong>Lineares</strong> <strong>em</strong> R 2 e R 3 .<br />

TRANSFORMAÇÕES LINEARES EM 2D<br />

1. Vamos começar por ver alguns procedimentos gráficos básicos.<br />

Representação do ponto ( x , y)<br />

= ( 2,<br />

2)<br />

figure(1);clf<br />

x=[2 2];<br />

plot(x(1),x(2),'*k');<br />

Representação do conjunto <strong>de</strong> pontos ( x 1 , y1)<br />

= ( 2,<br />

2)<br />

,<br />

( x 2 , y2)<br />

= ( 2,<br />

3)<br />

, ( x 3 , y3)<br />

= ( 3,<br />

3)<br />

, ( x 4 , y4<br />

) = ( 3,<br />

2)<br />

figure(2);clf<br />

x1=[2 2];<br />

x2=[2 3];<br />

x3=[3 3];<br />

x4=[3 2];<br />

X=[x1;x2;x3;x4]<br />

plot(X(:,1),X(:,2),'*k');<br />

axis([ -1 4 -1 4])<br />

axis square<br />

Representação do conjunto <strong>de</strong> pontos no interior do quadrado <strong>de</strong><br />

vértices ( x 1 , y1)<br />

= ( 2,<br />

2)<br />

, ( x 2 , y2)<br />

= ( 2,<br />

3)<br />

, ( x 3 , y3)<br />

= ( 3,<br />

3)<br />

,<br />

( x 4 , y4<br />

) = ( 3,<br />

2)<br />

figure(3);clf<br />

x1=[2 2]; x2=[2 3]; x3=[3 3]; x4=[3 2];<br />

X=[x1;x2;x3;x4]<br />

patch(X(:,1), X(:,2),[0.48 0.79 0.88]);<br />

axis([ -1 4 -1 4])<br />

grid on<br />

axis square<br />

Representação do conjunto <strong>de</strong> pontos no interior da circunferência<br />

<strong>de</strong> centro ( x , y)<br />

= ( 1.<br />

5,<br />

2)<br />

e raio 0 . 5<br />

figure(4);clf<br />

U = scircle1(1.5,2,0.5);<br />

patch(U(:,1), U(:,2),'r');<br />

axis([ -1 4 -1 4])<br />

grid on<br />

axis square<br />

© Prof. José Amaral ALGA M06 - 21 12-11-2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!