Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

28/08/2021

CENGR 3140:
NUMERICAL SOLUTIONS TO CE PROBLEMS

ENGR.MJCPEREZ

MATLAB
a computer program that provides the user with a
convenient environment for performing many types of
calculations.

3 PRIMARY WINDOWS:
1. Command Window
2. Graphics Window
3. Edit Window

ENGR.MJCPEREZ

1
28/08/2021

COMMAND WINDOWS

SCALARS
ASSIGN ME N TS

ENGR.MJCPEREZ

2
28/08/2021

ARRAYS, VECTOR, AND MATRICES

ASSIGN ME N TS
ARRAY
One-dimensional arrays = Vectors
Two-dimensional arrays = Matrices

ENGR.MJCPEREZ

ASSIGN ME N TS

3
28/08/2021

COLON OPERATOR

ASSIGN ME N TS
ASSIGN ME N TS
THE linspace and logspace FUNCTIONS

4
28/08/2021

CHARACTER STRINGS

ASSIGN ME N TS
can be represented by enclosing the strings
within a single quotation mark.

MATHEMATICAL OPERATIONS

5
6
28/08/2021

USE OF BUILT-IN FUNCTIONS USE OF BUILT-IN FUNCTIONS

You might also like