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.

16 Tutorial Lessons<br />

The Basics<br />

Here are the lessons in a nutshell:<br />

Lesson 1: Launch <strong>MATLAB</strong>, do some simple calculations, and quit.<br />

Key features: Learn to add, multiply, and exponentiate numbers; use trigonometric<br />

functions; and control screen output with format .<br />

Lesson 2: Create and work with arrays, vectors in particular.<br />

Key features: Learn to create, add, and multiply vectors; use sin and sqrt<br />

functions with vector arguments; and use linspace to create a vector.<br />

Lesson 3: Plot simple graphs.<br />

Key features: Learn to plot, label, and print out a circle.<br />

Lesson 4: Write and execute a script file.<br />

Key features: Learn to write, save, and execute a script file that plots a unit<br />

circle.<br />

Lesson 5: Write and execute a function file.<br />

Key features: Learn to write, save, and execute a function file that plots a<br />

circle of any specified radius.

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

Saved successfully!

Ooh no, something went wrong!