02.03.2016 Views

MATLAB by rudra pratap

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

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

182 Graphics<br />

Fun with sin(t)<br />

5,----,----,----,-----,----,----,----.----,---.--<br />

0 /<br />

4<br />

- eyin(t)<br />

- - linear approx.<br />

o fifth-order approx.<br />

/<br />

/ / 0<br />

0<br />

/<br />

0<br />

0<br />

0<br />

(/)<br />

c<br />

2<br />

E<br />

-<br />

0.<br />

0.<br />

-< 1<br />

0<br />

0<br />

0<br />

0<br />

- 1 L_ __ _J _____L _____L ____--------L---L___ _J __ ----<br />

0 0.5 1 .5 2 2.5 3 3.5 4 4.5 5<br />

t<br />

Figure 6.3: Example of an overlay plot produced <strong>by</strong> using the line command. The<br />

legend is produced <strong>by</strong> the legend command. See the script file for details.

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

Saved successfully!

Ooh no, something went wrong!