how to solve this problem?

1 view (last 30 days)
Siddhesh Karbhari
Siddhesh Karbhari on 8 Jul 2018
Edited: dpb on 8 Jul 2018
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
dpb
dpb on 8 Jul 2018
Excepting didn't show the error in context with what created it...
Star Strider
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.

Sign in to comment.

Answers (0)

Categories

Find more on Linear Algebra in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!