Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 5.391064e-017.
Show older comments
Dear all,
During linear fitting involving regression matrix, i face the warning
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 5.391064e-017.
and the estimates are erroneous.pls suggest how it can be resolved
Regards, Shravan.
Answers (1)
the cyclist
on 6 May 2011
0 votes
One likely cause for that warning message is that your explanatory variables are not linearly independent.
You need to provide a LOT more detail (ideally including the code that generated the warning) to get a more detailed answer.
4 Comments
Shravan Chandrasekaran
on 6 May 2011
Shravan Chandrasekaran
on 6 May 2011
Shravan Chandrasekaran
on 6 May 2011
Oleg Komarov
on 6 May 2011
Please edit your original post adding the formatted code.
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!