Hello,

I tried running this:

<code>
f1 = 4000;
f2 = 4500;
fs = 22050;
Ap = 0.5;
As = 50;

[N,wn] = ellipord(f1/(fs/2),f2/(fs/2),Ap,As);
[B,A] = ellip(N,Ap,As,wn);
</code>

But got this error:

<code>
octave> [B,A] = ellip(N,Ap,As,wn);
error: `ellipke' undefined near line 33 column 5
error: evaluating assignment expression near line 33, column 4
error: called from `__ellip_ws' in file
`/home/samwise/octave/signal-1.0.8/__ellip_ws.m'
error: evaluating assignment expression near line 40, column 3
error: called from `ncauer' in file `/home/samwise/octave/signal-1.0.8/ncauer.m'
error: called from `ellip' in file `/home/samwise/octave/signal-1.0.8/ellip.m'
</code>

It seems the 'ellip' function in the Signal Processing package
requires the 'ellipke' function. I found the 'ellipke' function in the
Special Functions package and installed that, and now it works. Does
'specfun' need to be added as a dependancy to the 'signal' package?

Thanks for your time,

Sam May

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to