Question: To write a function T = tridiag(A) that reduces a real symmetric m x m matrix totridiagonal form by orthogonal similarity transformations. Your program should
To write a function T = tridiag(A) that reduces a real symmetric m x m matrix totridiagonal form by orthogonal similarity transformations. Your program should use only elementary Matlab operations - not the built-in function hess, for example. Your outputmatrix T should be symmetric and tridiagonal up to rounding errors. Apply your program toA = hilb(4)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
