Next: Lab Report
Up: ECE306 Experiment 6
Previous: Advance Problems
- Solving Linear Systems
- Create the A matrix and B vector for each of the problems 9
through 12 on pp. 228-229, D.M.Etter, Engineering Problem Solving with
MATLAB, Prentice Hall, 1993.
- Use your MATLAB program to solve for the vector of unknowns
for each of those problems.
- Ill-Conditioned Problems
- Let the A matrix be [2 3; 4+100*eps 6], and the B vector be
[5;-7].
- Use your program to solve for the unknowns.
- Repeat the above two steps when A=[2 3; 4-100*eps 6] with
the same B vector.
- Using format long e, display the results of those 2 experiments.
- Over- and Under-Constrained Problems
- Let A=[1 1;2 1;3 1;4 1;5 1] and B=[9;17;23;24;30]. Use your
program to solve for the unknowns. Using your X, compute the error
.
- Repeat the above for A=[1 -3 5 6;2 4 -9 17;-3 3 6 11] and
B=[13;-23;1].