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 commentaires

Azzi Abdelmalek
Azzi Abdelmalek le 11 Déc 2013
show your code
Abhijit Bahirat
Abhijit Bahirat le 12 Déc 2013
Hey I have figured out the problem. It was license issue and I don't have signal processing toolbox installed. :)
Thanks for reply!

Connectez-vous pour commenter.

Réponses (1)

kjetil87
kjetil87 le 11 Déc 2013
Modifié(e) : kjetil87 le 11 Déc 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 commentaires

Abhijit Bahirat
Abhijit Bahirat le 11 Déc 2013
Yes, I do have signal processing toolbox installed.
which downsample shows the path of function call, downsample.m where it is saved.
kjetil87
kjetil87 le 11 Déc 2013
Modifié(e) : kjetil87 le 11 Déc 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? )
Abhijit Bahirat
Abhijit Bahirat le 12 Déc 2013
Hey I have figured out the problem. It was license issue and I don't have signal processing toolbox installed. :)
Thanks for replies!

Connectez-vous pour commenter.

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by