Homework: Problems from Chapter 5 thru 9
Follow guidelines for submitting HW at
http://www.eng.usf.edu/~kaw/class/programming/homework/sample_homework.htm
6 exercises total. Use one mfile. No need to define the given problem in comments or disp
statements, just use problem number.
e.g.
%%
Chapter 5 Exercise 4
You still need to use fprintf and disp statements for inputs and outputs of each problem.
Chap 5: Exercise 4
Given,
[ ]
−
−
=
1
7
2
3
6
9
1
0
2
4
7
9
7
3
0
4
P
Using MATLAB, find the
a)
row and column dimensions using the
size
command.
b)
norm of [
P
]
(max column sum)
.
c)
trace of [
P
]
.
d)
inverse of [
P
], and name the matrix,
Q
.
For parts (a), (b) and (c), use the
fprintf
command to display the result. For (d)
use the
disp
command to display
Q
.
Chap 7: Exercise 2
Plot the lift and drag forces exerted on an airfoil as a function of velocity. Use
velocity values going from 0 to 45 m/s on a loglinear plot (logscale on the y axis).
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
This is the end of the preview.
Sign up
to
access the rest of the document.
 Spring '08
 Daly,J
 4 inches, 4 ft, 6 ft, 1.423 kg

Click to edit the document details