Borrar filtros
Borrar filtros

buffer function error using input arguments

1 visualización (últimos 30 días)
gowthami kommineni
gowthami kommineni el 16 de Feb. de 2016
Respondida: Jan el 16 de Feb. de 2016
[y,Fs,nbits]=wavread('C:\Users\GOTHAMI\Desktop\piano.wav');
[R1,C1]=size(y);
[zas]=buffer(y,nspf);
iam getting eError using ==> buffer Input must be a vector.
Error in ==> prj3 at 9 [zas]=buffer(y,nspf); rror like this

Respuestas (1)

Jan
Jan el 16 de Feb. de 2016
As long as you do not explain what "nspf" is, we cannot guess the problem. But "y" might be a mtarix, if the WAV file is in stereo. But as the message explains, buffer expects a vector.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by