Professional Documents
Culture Documents
Course Information
z
z
Course Goals
At the end of this course, students will be able to
z Use, create, and modify scripts in MATLAB
(and probably spreadsheets in MS EXCEL) to
solve quantitative simple problems in future
classes.
z Prepare oral + written presentations in class
Conduct of Course
z
Homework/Projects/Quizzes
Midterm Exam
Final Exam
30 %
30 %
40 %
Warnings!!
z
z
z
z
z
z
Productivity
Precision
Better communication
Visualization
What is MATLAB?
Reference: www.mathworks.com
MATLAB 101
z
Getting Started ( )
Basic Arithmetic ( )
Built-in Functions ( )
Built-in Variables ( )
Getting Started
MATLAB101
MATLAB101--Getting
Getting Started
Started
Launch Pad
Command
Window
Command
History
MATLAB101
MATLAB101--Getting
Getting Started
Started
MATLAB101
MATLAB101--Getting
Getting Started
Started
MATLAB101
MATLAB101--Getting
Getting Started
Started
MATLAB101
MATLAB101--Getting
Getting Started
Started
MATLAB101
MATLAB101--Getting
Getting Started
Started
MATLAB101
MATLAB101--Getting
Getting Started
Started
Basic Arithmetic
z
MATLAB101
MATLAB101--Basic
Basic Arithmetic
Arithmetic
MATLAB101
MATLAB101--Basic
Basic Arithmetic
Arithmetic
MATLAB101
MATLAB101--Basic
Basic Arithmetic
Arithmetic
MATLAB101
MATLAB101--Basic
Basic Arithmetic
Arithmetic
MATLAB101
MATLAB101--Basic
Basic Arithmetic
Arithmetic
MATLAB 102
z
Array/Matrix ( )
Graphics
Array/Matrix
z
MATLAB102
MATLAB102--Array
Array
To check array dimension (no. of rows and columns) use a command whos
MATLAB102
MATLAB102--Array
Array
MATLAB102
MATLAB102--Array
Array
MATLAB102
MATLAB102--Array
Array
MATLAB102
MATLAB102--Array
Array
MATLAB102
MATLAB102--Array
Array
MATLAB102
MATLAB102--Array
Array
Quiz I
; Compute Y = Ab
Solution
MATLAB102
MATLAB102--Array
Array
MATLAB102
MATLAB102--Save/Load
Save/Load Data
Data
Input/Output Functions
MATLAB102
MATLAB102--In/Output
In/Output
MATLAB102
MATLAB102--In/Output
In/Output
Graphics
z
Graphics (cont.)
semilog plot
barplot
stair plot
loglog plot
Quiz II
z