First-Year Engineering Program
MATLAB 12
Other Additional Features Simulink
1
First-Year Engineering Program
Additional Matlab Features
Sample list of built in products and services: Math and Optimization toolboxes Statistics and Data Analysis Control Sy
First-Year Engineering Program
MATLAB 11
File I/O
1
First-Year Engineering Program
File I/O using save and load
The simplest high level I/O routines in
MATLAB are save and load.
save x will store the values of x in a file
called x.mat in the present worki
First-Year Engineering Program
Functions in MATLAB
Functions and Function Files / Chapter 6
Topics Covered: 1. Function files
1
First-Year Engineering Program
Why Not Use Script Files For Everything?
Imagine that you're heading a programming group superv
First-Year Engineering Program
Loops in MATLAB
Programming in MATLAB / Chapter 7 Topics Covered: 1. Loops forend loops The break command Nested loops
1
First-Year Engineering Program
182
DEFINITION OF A LOOP
A loop is a group of commands in a computer
pr
First-Year Engineering Program
Introduction to Programming and Problem Solving
Topics Covered: 1. Problem Solving 2. Top-Down Example 3. Logic Diagrams
1
First-Year Engineering Program
INTRODUCTION TO PROBLEM SOLVING Engineers must analyze and solve a wid
First-Year Engineering Program
Two Dimensional Plots in
MATLAB
Extended Two Dimensional Plots / Chapter 5
Topics Covered:
1. More about 2-D plots
Placing multiple plots on the same page
Special 2-D plots (log axes, special graphics)
The fplot() command
First-Year Engineering Program
Two Dimensional Plots in MATLAB
Basic Two Dimensional Plots / Chapter 5
Topics Covered: 1. Plotting basic 2-D plots The plot() command Plotting multiple graphs in the same plot Formatting plots
1
First-Year Engineering Progr
First-Year Engineering Program
Topics Covered
Script File I/O : Chapter 4
1. Global Variables
2. The Input Command
3. The Disp Command
4. The fprintf Command
1
81
First-Year Engineering Program
Global Variables
Command window and script file variables ar
First-Year Engineering Program
Topics Covered
Mathematical Operations with Arrays : Chapter 3
1. Types of Matrix arithmetic 2. Dot operators
1
First-Year Engineering Program
Types of Matrix Arithmetic
There are two types of matrix arithmetic Matrix math