buffer function error using input arguments
조회 수: 1 (최근 30일)
이전 댓글 표시
[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
댓글 수: 0
답변 (1개)
Jan
2016년 2월 16일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 CubeSat and Satellites에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!