Introduction To Matlab: Sudin Kulkarni
Introduction To Matlab: Sudin Kulkarni
INTRODUCTION TO MATLAB
by
Sudin Kulkarni
Introduction
2
Tool strip
Workspace
Current Command
Folder Window
Command
History
Understanding the MATLAB Environment
9
S.B.Kulkarni
Interactive Commands
ans=
7.08
S.B.Kulkarni
Variables
S.B.Kulkarni
Variables
S.B.Kulkarni
Variables
S.B.Kulkarni
Workspace Window
S.B.Kulkarni
Command History Window
S.B.Kulkarni
Changing a Variable
S.B.Kulkarni
Suppressing Screen Display
S.B.Kulkarni
Displaying Variable Values
S.B.Kulkarni
Variable Names
S.B.Kulkarni
Variable Names
S.B.Kulkarni
Clearing Variables
S.B.Kulkarni
TO SEE Variables
Who command
The who command displays all the variable names
you have used.
S.B.Kulkarni
TO SEE Variables
Whos command
The whos command displays little more about the
variables
Variables currently in memory
Type of each variables
Memory allocated to each variable
Whether they are complex variables or not
S.B.Kulkarni
NUMERICAL EXPRESSION
S.B.Kulkarni
OPERATORS
S.B.Kulkarni
OPERATORS
2. Relational operators
The relational operators in MATLAB are:
Operator Meaning
> Greater than
< Less than
>= Greater than or equals
<= Less than or equals
== Equality
~= Inequality
S.B.Kulkarni
OPERATORS
3. logical operators
The logical operators are:
Operator Meaning
II Or
&& And
~ Not
S.B.Kulkarni
Hierarchy of Operations
S.B.Kulkarni
Hierarchy of Operations
S.B.Kulkarni
Formulas in MATLAB
S.B.Kulkarni
Functions in MATLAB
S.B.Kulkarni
Help With Functions
S.B.Kulkarni
More Help
S.B.Kulkarni