how to convert the float into binary ?? the float values are audio samples and also the negative values are there
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hemalatha
el 11 de En. de 2015
Comentada: hemalatha
el 11 de En. de 2015
[x,fs] = wavread('C:\Users\hp\Desktop\ee.wav'); the valuess of in 26121*1double.... float2bin is not working for the double it produce the error as undefined function'float2bin'for the input arguments of double
2 comentarios
Stephen23
el 11 de En. de 2015
MATLAB does not have an inbuilt function named "float2bin". Where did you find this function? Did someone give it to you or did you write it yourself?
Respuesta aceptada
Stephen23
el 11 de En. de 2015
This is an ill-defined problem, unless you specify what encoding method you want. And MATLAB does not have an inbuilt function named "float2bin", which is why you are getting this error. This is a topic that has been discussed before on MATLAB Answers, and even some other forums:
Although it is important to note that the problem is ill-defined, because "There is no one right answer on how to represent a fractional number in binary" (quoted from Peter at the last link).
Más respuestas (0)
Ver también
Categorías
Más información sobre Audio and Video Data 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!