http://www.alltechonline.net/google4c4244e4df023aed.html AlltechonlineAll Tech Online : January 2016

Valentine's Day Special

Wednesday 27 January 2016

MATLAB

                     

                                  Basics of MATLAB

Define  :

MATLAB  is stands for matrix laboratory |  high level language 

it is software package for numerical computation and visualisation

it has hundreds of built in functions. we can plot 2D|3D graphs

                          

                     Basic building block of MATLAB 


Matrix has tools when you understand about tools then you know the things to do so i will show you 
File menu: we use to open ,close |save the files like a microsoft view menu: means viewing 
Edit menu: as usual we use to edit by using edit menu
Debug menu :to find or by tracing errors in simulation modelling or mathematical modelling 
Parallel menu:if we want to run 2 simulation files at a time use this.

we are new but have to do operations how? what is operation ?operation is nothing but addition, subtraction, multiplication |division.
then 
                 
MATLAB 
          
     this is very important feature in Matlab if we want to do operations by using "Help" command we can see this on toolbar.
for example : addition

 >> a=10
a =
  
       10

>> b =2

b =

      2

>>a+b
ans =                

     12
>> c =ans        so the c is the answer value 

so ans means answer,  
c is the answer value 
we have given any value it stores in matrix form  that will show while we are working in MATLAB Software.

if we want to clear the c means just use ">>clc" command 
that is why it is very flexible software.

similarly do 
??? Undefined function or variable 'a'

>> a=8
a =
       8
>> b = 9
b   =
         9
>> c=a+b                                (Addition)
c=
     17
>>d= a-b                                 (Subtraction)
d =
         -1
>> e = c*d                              (Multiplication)
e =
     17
>> fx  =
now the quitting session rite so quit how to quit not direct we are the engineers we use to follow some rules otherwise will loose data so , just follow to use quit command for quitting