06.01.2015 Views

Appunti di Laboratorio di Calcolo Numerico con Matlab

Appunti di Laboratorio di Calcolo Numerico con Matlab

Appunti di Laboratorio di Calcolo Numerico con 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.

Day3<br />

Esercizio per casa. Eseguire il debug dell’implementazione del<br />

metodo <strong>di</strong> bisezione per correggere errori o apportare mo<strong>di</strong>fiche.<br />

Infine realizzare il profiling temporale del metodo <strong>di</strong> bisezione usando i<br />

coman<strong>di</strong> tic e toc.<br />

Esempio <strong>di</strong> uso <strong>di</strong> tic e toc<br />

Dal prompt dei coman<strong>di</strong>:<br />

>> tic; surf(peaks(40)); toc<br />

24<br />

Ing. Luca Paulon - <strong>Laboratorio</strong> <strong>di</strong> <strong>Calcolo</strong> <strong>Numerico</strong>

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

Saved successfully!

Ooh no, something went wrong!