0% found this document useful (0 votes)
35 views

Basics of MATLAB-I: Presented by T.S.L.V.Ayyarao

The document provides an introduction to basic MATLAB concepts including starting MATLAB, using it as a calculator, creating variables, and performing matrix operations. It outlines how to start MATLAB, perform basic arithmetic operations like addition and multiplication, assign values to variables, and do matrix operations like adding and multiplying matrices. Examples are given for each concept like assigning the value 2 to the variable x, calculating 2*3, and adding the identity matrix to itself.

Uploaded by

AR-T
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Basics of MATLAB-I: Presented by T.S.L.V.Ayyarao

The document provides an introduction to basic MATLAB concepts including starting MATLAB, using it as a calculator, creating variables, and performing matrix operations. It outlines how to start MATLAB, perform basic arithmetic operations like addition and multiplication, assign values to variables, and do matrix operations like adding and multiplying matrices. Examples are given for each concept like assigning the value 2 to the variable x, calculating 2*3, and adding the identity matrix to itself.

Uploaded by

AR-T
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Basics of MATLAB-I

Presented by
T.S.L.V.Ayyarao

Outline

Starting MATLAB
Using MATLAB as a calculator
Creating MATLAB variables
Matrix operations
Basic plotting

Starting MATLAB

Using MATLAB as a
calculator
>> a=2*3
a =6
Symbol

Operation

Example

Addition

7+3

Subtraction

3-2

Multiplicatio
n

3*7

Division

3/7

Creating MATLAB variables


Variable name =
value(expression)
Example:
>> x=2
x=
2
>> x=y^2+y+3

Matrix operations
Matrix operations can be performed
Example:
>> A=[1 0;0 1]
A=
1
0
0
1

You might also like