Undefined function 'ellip' for input arguments of type 'double'.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Yasir Khan
il 16 Lug 2016
Risposto: Star Strider
il 16 Lug 2016
Hi I wanted to know why I am getting the below error, I am trying to plot edf data in MatLab so decided to use an ellip filter. Here is my code below.
>> fs = 128; % sampling rate in Hz
fmin = 7; % minimum passband frequency in Hz
fmax = 9; % maximum passband frequency in Hz
order = 5; % filter order (the higher the narrower the transition band)
Rs = 20; % stopband attenuation in dB
Rp = 1; % passband ripples in dB
[b,a] = ellip(order, Rp, Rs, [fmin/(fs/2), fmax/(fs/2)]);
However I get an error saying
Undefined function 'ellip' for input arguments of type 'double'.
How can i fix this error?
0 Commenti
Risposta accettata
Star Strider
il 16 Lug 2016
First type:
ver
in the Command Window. If you have the Signal Processing Toolbox installed, it should be listed. If it is not, you have to install it.
If it is listed and you still cannot call ellip, you may have a path problem. The usual first step in fixing that is to run these lines from the Command Window or a script:
restoredefaultpath
savepath % <— MAY NOT BE NECESSARY
rehash toolboxcache
If that doesn’t work, you may have to contact MathWorks Tech Support.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Digital Filter Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!