Question: Write Matlab codes (loops and iterations) for QR factorization for random tridiagonal symmetric matrices (nXn) (not the normal QR iteration) and code to find the
Write Matlab codes (loops and iterations) for QR factorization for random tridiagonal symmetric matrices (nXn) (not the normal QR iteration) and code to find the eigenvalues of tridiagonal symmetric matrices using the QR factorization. Use several reasonable thresholds for stopping the iteration. Compare the runtime for both the codes against Matlab's qr and eig function. (Show the usage of qr and eig on MAtlab for random tridiagonal symmetric matrices (3X3) ) I reiterate - QR code for tridiagonal symmetric matrices (more efficient than normal QR ) and plz suggest some reasonable thresholds for stopping the iteration for eig
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
