11.07.2015 Views

Relazione sul Seminario Matlab-Simulink per l'Ingegneria

Relazione sul Seminario Matlab-Simulink per l'Ingegneria

Relazione sul Seminario Matlab-Simulink per l'Ingegneria

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

4.4 Esercizio 4Determinare <strong>per</strong> via grafica l’intersezione tra le curve:…@bB b# sin @bB1 b#E@bB 2bD>@2bB 1con b 70,19.Relativamente alla sola parte positiva calcolare il punto di minimo e visualizzare <strong>sul</strong> workspace di<strong>Matlab</strong> la soluzione.x=0:0.001:1;f=(x.^2)./(1+x.^2)-sin(x);g=2*x.*sin(2*x)-1;plot(x,f,x,g),gridz=abs(f-g);figure(2)plot(x,z),grid[valore posizione]=min(z)disp('La soluzione è: ')x(posizione)

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

Saved successfully!

Ooh no, something went wrong!