Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Matlab Resample Error

665 views
Skip to first unread message

Jason

unread,
Feb 21, 2009, 10:57:02 AM2/21/09
to
I am trying to downsample a sound file I imported into matlab by using 'resample', however when I try to downsample it I get an error message saying:

??? Undefined function or method 'resample' for input arguments of type 'double'.

I am using a demo version of matlab at the moment (I do own the full version but it is done through a university license and I am having problems connecting to the server) of version R2007a. I have used this command before on matlab on a different computer and it runs fine. Anyone got any idea why I get that error message?

This is exactly what I am inputting and the error message?>> [a, fs, nbits] = >>wavread('Sound.wav');
>> soundsc(a, fs);
>> a2 = resample(a, 16000, 32000);
??? Undefined function or method 'resample' for input arguments of type 'double'.

Thanks.

Steven Lord

unread,
Feb 23, 2009, 10:57:44 AM2/23/09
to

"Jason " <jason...@googlemail.com> wrote in message
news:gnp88d$nef$1...@fred.mathworks.com...

The RESAMPLE function is part of Signal Processing Toolbox.

http://www.mathworks.com/access/helpdesk/help/toolbox/signal/resample.html

Check the output of the VER function to determine if you have this toolbox
installed.

--
Steve Lord
sl...@mathworks.com


0 new messages