Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

New Post: The result of SVD of Math.Net seems different from Matlab

$
0
0
Both seem to be correct. Only the singular values are uniquely determined in an SVD, and only if they are ordered the same way. U and V are related, but not uniquely determined.

Note that with Math.NET Numerics, VT is already transposed (hence the T suffix), so H = UWVT. Once you transpose VT back to get V, the only difference between the two solutions is the negation of the middle column of both U and VT.

See How unique (on non-unique) are U and V in Singular Value Decomposition (SVD)? for some details on why this is allowed.

Thanks,
Christoph

Viewing all articles
Browse latest Browse all 971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>