Reputation: 3
I have a symmetric matrix found from the following commands:
a=rand(n);
A=triu(a)+triu(a,1)'
I was wondering how I reduce this symmetric matrix into a tridiagonal matrix?
Any help is appreciated. Thank you very much.
Upvotes: 0
Views: 1405