AMATH 301 Lecture Notes - Lecture 9: Row And Column Vectors, Matrix Splitting, Matlab

22 views4 pages
24 Jan 2018
School
Course

Document Summary

% where x is eigenvector, and lambda is the eigenvalue. % these only make sense for square matrices. % every nxn matrix has n eigenvalues, and almost every nxn matrix has n. % video in canvas shows how to find eigenvectors by hand. % matlab will give you a matrix with all the eigenvectors in one matrix, % and returns eigenvalues in either a vector/nxn matrix. % m = v * d * v^-1. % where d is the matrix containing eigenvalues, and v is the matrix. It makes raising matrices to a power very. % easy, because when you multiply it by itself, the matrix v and v^-1. So to get m^k, we simply raise d^k, and perform. % we want our error to be minimal as well, so set up this error bound: % if any eigenvalue is larger than 1, then e_k will go to infinity.