20.07.2013 Views

Subiecte MATLAB

Subiecte MATLAB

Subiecte MATLAB

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.

Problema 17. Determina¸ti o aproximare discret¼a în sensul celor mai mici<br />

p¼atrate de forma<br />

y = c1 + c2x + c3 sin( x) + c4 sin(2 x)<br />

pentru datele<br />

i xi yi<br />

1 0.1 0.0000<br />

2 0.2 2.1220<br />

3 0.3 3.0244<br />

4 0.4 3.2568<br />

5 0.5 3.1399<br />

6 0.6 2.8579<br />

7 0.7 2.5140<br />

8 0.8 2.1639<br />

9 0.9 1.8358<br />

Reprezenta¸ti gra…c datele ¸si aproximanta.<br />

Problema 18. Se consider¼a sistemul<br />

2x1 x2 = 1<br />

xj 1 + 2xj xj+1 = j; j = 2; n 1<br />

xn 1 + 2xn = n<br />

(a) S¼a se genereze matricea sistemului folosind diag.<br />

(b) S¼a se rezolve folosind descompunerea lu.<br />

(c) S¼a se genereze matricea cu spdiags, s¼a se rezolve cu \, comparând<br />

timpul de rezolvare cu timpul necesar pentru rezolvarea aceluia¸si sistem<br />

cu matrice dens¼a.<br />

(d) S¼a se estimeze num¼arul de condi¸tionare al matricei coe…cien¸tilor folosind<br />

condest.<br />

Problema 19. O analiz¼a de tip element …nit a sarcinii pe o structur¼a ne<br />

4

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

Saved successfully!

Ooh no, something went wrong!