Problem with handling of Matlab-matrix
N2D2 opened this issue · 1 comments
N2D2 commented
Hi,
Matlab returns in some cases a smaller S-Matrix: http://www.mathworks.de/de/help/matlab/ref/svds.html#zmw57dd0e401903
In line 150 of SingularValueDecompositionMatlab.java the S-Matrix is iterated until the #dimensions is reached. If the Matrix is smaller than #dimensions, this ends up in an exception.
fozziethebeat commented
This is a semi-known problem with the matlab implementation. I don't know why matlab does this, but it even happens if you run the svd command within matlab. If you want a better SVD implementation that lacks this feature I sugest SVDLIBC