Mark Yourself Question
For A=[2 0;0 5] and b=[8;15], give the MATLAB expression that solves A*x=b, the resulting x, and one numerical residual check.
Unlock full course notes by signing up
MATLAB for Linear Algebra: difficulty 3
Let A=[2 1;0 5]. Give (i) both eigenvalues and (ii) one nonzero eigenvector for eigenvalue 5, with a MATLAB-style check.