You are on page 1of 1

MATLAB TUTORIAL

http://www.tuto rialspo int.co m/matlab/inde x.htm Co pyrig ht tuto rials po int.co m

MAT LAB is a prog ramming lang uag e developed by MathWorks. It started out as a matrix prog ramming
lang uag e where linear alg ebra prog ramming was simple. It can be run both under interactive sessions and as a
batch job.

T his tutorial g ives you ag g ressively a g entle introduction of MAT LAB prog ramming lang uag e. It is desig ned to
g ive students fluency in MAT LAB prog ramming lang uag e. Problem-based MAT LAB examples have been g iven
in simple and easy way to make your learning fast and effective.

AUDIENCE
T his tutorial has been prepared for the beg inners to help them understand basic to advanced functionality of
MAT LAB. After completing this tutorial you will find yourself at a moderate level of expertise in using MAT LAB
from where you can take yourself to next levels.

PREREQUISITES
We assume you have a little knowledg e of any computer prog ramming and understand concepts like variables,
constants, expression, statements, etc. If you have done prog ramming in any other hig h-level prog ramming
lang uag e like C, C++ or Java, then it will be very much beneficial and learning MAT LAB will be like a fun for you.

TRY MATLAB ONLINE


For most of the examples g iven in this tutorial you will find T ry it option, so just make use of it and enjoy your
learning .

T ry following example using T ry it option available at the top rig ht corner of the below sample code box:

x = [1 2 3 4 5 6 7 8 9 10];
y1 = [.16 .08 .04 .02 .013 .007 .004 .002 .001 .0008 ];
y2 = [.16 .07 .03 .01 .008 .003 .0008 .0003 .00007 .00002 ];

semilogy(x,y1,'-bo;y1;',x,y2,'-kx;y2;');
title('Plot title');
xlabel('X Axis');
ylabel('Y Axis');
print -deps graph.eps

1 - MATLAB Quick Reference Guide


A quick MAT LAB reference g uide for MAT LAB Prog rammers.

MAT LAB Quick Reference Guide

2 - MATLAB Useful Resources


A collection of MATLAB Sites, Books and Articles is g iven at this pag e.

MAT LAB Useful Resources

3 - MATLAB Tutorial in PDF


Download a quick MAT LAB tutorial in PDF format.

MAT LAB T utorial in PDF

You might also like