What function to display the result of wavread?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
[x,fs] = wavread('E:\Example\tes.wav');
if i use plot(x); there will be a graph of sine wave.
But the display i wanted is in array of the data/sample data or something?
Anyone know what function should i use?
0 comentarios
Respuesta aceptada
Walter Roberson
el 25 de Feb. de 2013
Do you mean like
x(1:100,1)
to display the numeric values of the first 100 samples?
3 comentarios
Walter Roberson
el 25 de Feb. de 2013
Editada: Walter Roberson
el 25 de Feb. de 2013
To display all of it, at the command line command
x
(just the name of the matrix.) Remember, this can come out as a lot of output!
The values you will see will be the samples normalized to the range [-1, +1) [that is, -1 exactly is allowed but not +1 exactly). The samples have no absolute meaning; they are relative to the capabilities of whatever equipment will be used to play them.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!