how to solve this problem?
1 view (last 30 days)
Show older comments
I am getting this error continuously. I tried to change the input by adding and multiplying by a constant to the input but it is helping. can anyone please help me with this? I have attached all the required functions and code with the input cell array.
Error using svd
Input to SVD must not contain NaN or Inf.
Error in gplda_em
>calc_white_mat (line 135)
[~, D, V] = svd(X);
Error in gplda_em (line 58)
W1 = calc_white_mat(cov(data'));
Error in tes1 (line 37)
pLDA = gplda_em(finalDevIVs, speakerID(:), nphi, niter);
2 Comments
Star Strider
on 8 Jul 2018
There appear to be non-finite (that is, NaN or Inf) values in your ‘data’ array. You have to find them and deal with them appropriately.
Answers (0)
See Also
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!