Usage of downsample function in 2012b

I am Matlab 2012b installed with 64-bit edition.
I tried using 'downsample' function using a simple vector as an input argument.
It throws following error, "Undefined function 'downsample' for input arguments of type 'double'"
Is it because of 64-bit edition? Because it works perfectly fine on 32-bit edition.
Any suggestions?

2 Commenti

show your code
Hey I have figured out the problem. It was license issue and I don't have signal processing toolbox installed. :)
Thanks for reply!

Accedi per commentare.

Risposte (1)

kjetil87
kjetil87 il 11 Dic 2013
Modificato: kjetil87 il 11 Dic 2013
Undefined function means that the function does not exist, so parhaps there is a small typo in your call?
Is the signal processing toolbox listed in:
path
on the 64b version?
What happens if you type:
which downsample
?

3 Commenti

Yes, I do have signal processing toolbox installed.
which downsample shows the path of function call, downsample.m where it is saved.
kjetil87
kjetil87 il 11 Dic 2013
Modificato: kjetil87 il 11 Dic 2013
That is strange, try putting a
which downsample
right before your call in your function/script , does it still list the correct function? (is there a chance that you have redefined it? )
Hey I have figured out the problem. It was license issue and I don't have signal processing toolbox installed. :)
Thanks for replies!

Accedi per commentare.

Categorie

Richiesto:

il 11 Dic 2013

Commentato:

il 12 Dic 2013

Community Treasure Hunt

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

Start Hunting!

Translated by