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 Kommentare

dpb
dpb am 8 Jul. 2018
Excepting didn't show the error in context with what created it...
Star Strider
Star Strider am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Tags

Gefragt:

am 8 Jul. 2018

Bearbeitet:

dpb
am 8 Jul. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by