About
Chapter 1
L/O/G/O
®
MATLAB
Objectives
• Understand what MATLAB is and why it is
widely used in engineering and science
• Understand the advantages and limitations of
the student edition of MATLAB
• Formulate problems by using a structured
problem-s
User-Controlled Input and Output
Chapter 7
L/O/G/O
Objectives
After studying this chapter you should be
able to:
• Prompt the user for input to an M-file program
• Create output using the disp function
• Create formatted output
– fprintf
– sprintf
• Use
Manipulating
MATLAB Matrices
Chapter 4
L/O/G/O
Objectives
After studying this chapter you should be
able to:
•
•
•
•
Manipulate matrices
Extract data from matrices
Solve problems with two variables
Explore some of the special matrices built into
MATLAB
Built-in MATLAB
Functions
Chapter 3
Test Scores
Distribution of Test Scores
120
100
100
Average = 50
Average = 50
60
# of students
Score
80
40
20
0
0
200
600
400
Student Number
800
0
1000
0
20
60
40
80
100
Score
120
L/O/G/O
100
60
# of students
80
Score
6
MATLAB Environment
Objectives
After studying this chapter you should be able to
• Start the MATLAB program and solve simple problems in the
command window
• Understand MATLAB’s use of matrices
• Identify and use the various MATLAB windows
• Define and us
User Defined
Functions
90
1
120
Chapter 6
60
0.8
0.6
150
30
0.4
0.2
180
0
L/O/G/O
330
210
300
240
270
Objectives
• Create and use MATLAB functions with both
single and multiple inputs and outputs
• Create and use anonymous functions
• Create and use func
ChE 121/CIVE 121 (W13)
University of Waterloo
Lab 1
1. Learning Objectives:
This lab is to be worked out individually. By completing the Lab, you should be
competent in the following:
How to enter/exit the Matlab environment.
Use Matlab as a calculator.
E
1 of 14
University of Waterloo
Civ.E. 121
Digital Computation
Final Examination
Winter 2012
Wednesday April 11, 2012
12:30 - 3:00 p.m.
Instructor: Dr. Bob McKillop
Exam Instructions:
b)
c)
d)
e)
f)
g)
h)
this is a 2 1/2-hour examination
a syntax summary i
ChE 121/Civ 121 – Engineering Computation
W 2012 - Lab 3 (Due:February 07, 2013)
1. Learning Objectives:
By completing the lab, you should be competent in the following:
•
•
•
Executing basic MATLAB scripts.
Executing basic MATLAB functions.
Understanding
Civ.E. 121
Digital Computation
Winter 2013 - Lab #1
SOLUTIONS
Create a single WORD document containing the MATLAB code and corresponding screen captures associated
with each program in this lab. Each program listing should have a completed lab header (ava