Borrar filtros
Borrar filtros

Can someone please help me with the code. Speech recognition system.

3 visualizaciones (últimos 30 días)
Gaurav Sharma
Gaurav Sharma el 23 de Nov. de 2018
Comentada: Walter Roberson el 24 de Nov. de 2018
Hi there,
whenever I am trying to run the code, it first throws an error at "ms" in "mfcc.m" and then if cont. the running process, it stuck at the "x=disteu(......)" (line 25, "vector.m"). Can any one pls help with the code.
Phase one is main training code from where mfcc and vector code will be called.
  7 comentarios
Gaurav Sharma
Gaurav Sharma el 24 de Nov. de 2018
Thank You very mech sir for your help.
I need one more favour from you..... Can you pls tell why in the vector.m, the code enters in an infinite loop? and how it can be overcomed. I have tried but it didnt work.
Walter Roberson
Walter Roberson el 24 de Nov. de 2018
In my test, if the data you pass as the first parameter of vector() has 1 or 2 columns, then the way you handle the means makes it certain that t will become 0. When it does then
(distortion - t)/t
has a division by 0 and becomes infinite, which is not less than e. This leads to 0 being assigned to distortion, and t becomes 0 again, leading to (0-0)/0 as the next test, which is NaN, which again is not less than e. You are then stuck in an infinite loop.
In the case of 3 or more columns then this problem is not certain to happen, and vector can potentially exit.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by