wavread does not work on matlab 2009a (64bit windows) [index exceeds matrix dimensions]
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
i've succsessfully used wavread to read different .wav files on a linux based system.
the same code does not work on an older windwos version of matlab. i always get:
??? Error using ==> wavread at 166
Index exceeds matrix dimensions.
code snippelet looks like this:
sweeps = wavread('RockOrgan Vs Clarinet Stat/Clarinet261Hz(start).wav',2*SR)';
where SR is 44,1khz.
what could be the reason?
richard
0 comentarios
Respuesta aceptada
Walter Roberson
el 2 de Nov. de 2011
Are you certain that the file has 2*SR or more samples in it?
0 comentarios
Más respuestas (1)
Richard
el 2 de Nov. de 2011
2 comentarios
Walter Roberson
el 2 de Nov. de 2011
Please show the traceback including the line of wavread() that gives the problem.
Please use
which -all wavread
to ensure that you are not accidentally getting a wavread that you do not expect.
Which MATLAB version are you using?
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices 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!