Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: funny problem about the precision of matrix transpose and inverse.

$
0
0
"Ha" wrote in message <k6q8kc$8i4$1@newscl01ah.mathworks.com>...

>
> Backslash seems provide no help. I still get a warning that the matrix is badly scaled or nearly singular and sometimes it gives rise to NaNs.

Then your system is not invertible, or nearly so. Often because you forget to add appropriate constraints, boundary condition to make the problem well-posed. It might also be badly scaled, as the warning message suggests.

You could try to use pinv(), but the problem might lie well before the system was formed.

Bruno

Viewing all articles
Browse latest Browse all 19628

Trending Articles