16.04.2013 Views

Universidade Presbiteriana Mackenzie Automaç˜ao e Controle I

Universidade Presbiteriana Mackenzie Automaç˜ao e Controle I

Universidade Presbiteriana Mackenzie Automaç˜ao e Controle I

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Automação e <strong>Controle</strong> 1 – Aula 8P – Professor Marcio Eisencraft – julho 2006<br />

16. Usando a função rank determine o posto da matriz do exercício anterior.<br />

17. (CHAPMAN, 2003, p. 29) Assuma que a, b, c e d são definidas como a seguir:<br />

⎡1<br />

a= ⎢<br />

⎣2<br />

0⎤<br />

1<br />

⎥<br />

⎦<br />

⎡−1<br />

b= ⎢<br />

⎣ 0<br />

2⎤<br />

1<br />

⎥<br />

⎦<br />

⎡3<br />

⎤<br />

c= ⎢ ⎥⎦ e d = 5.<br />

⎣2<br />

Qual é o resultado das seguintes operações?<br />

a+b a+c<br />

a.*b a+d<br />

a*b a.*d<br />

a*c a*d<br />

18. (CHAPMAN, 2003, p. 51) Assuma que a, b, c e d são definidas como a seguir e calcule<br />

os resultados das seguintes operações se elas forem legais. Se uma operação for ilegal,<br />

explique o motivo.<br />

⎡ 2 1⎤<br />

⎡0 −1⎤<br />

⎡1<br />

⎤<br />

a= ⎢ ⎥ b=<br />

⎣−1<br />

2<br />

⎢ ⎥ c=<br />

⎦ ⎣3<br />

1<br />

⎢ ⎥⎦ e d = -3.<br />

⎦ ⎣2<br />

(a) result = a.*c;<br />

(b) result = a* [c c];<br />

(c) result = a.*[c c];<br />

(d) result = a+b*c;<br />

(e) result = a+b.*c;<br />

4

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

Saved successfully!

Ooh no, something went wrong!