Ok.
I can not open this kind of file format. Are you using Linux or
windows pc? What octave version?
Tarmo
Doug Stewart kirjoitti 1.11.2018 klo
14.40:
I included it last time, but here is txt-file.
% The following 3 lines produce filter coefficients
shown in Table 6.1.
wp = [0.35,0.65]; ws = [0.25,0.75]; Rp = 1; As = 50;
[N, wn] = ellipord(wp, ws, Rp,
As);
[b,a] = ellip(N,Rp,As,wn);
w = [0:500]*pi/500; H = freqz(b,a,w); magH = abs(H);
magHdb = 20*log10(magH);
This code works OK for me!
I get the results shown in the attached file
.....
Tarmo
Doug
Stewart kirjoitti 1.11.2018 klo 12.50:
I have upgraded now to version 4.2.2 (sudo
add-apt-repository ppa:octave/stable) but I
get same error.
Ok
Can you show me a small section of
code that will make the error?
Doug
Stewart kirjoitti 31.10.2018 klo 19.22:
Hi
I have problem to use Octave 4.0.0
version's function ellipord.m (signal
package version 1.4.0?). File
included. I get error
"validate_filter_bands". My operation
system is Linux Xubuntu 16.04.
What is my fault?
Tarmo
Thank you for starting a new thread.
Octave 4.0.0 is very old, and lots of
thing have been fixed since then.
I think you should upgrade to the
newest octvae.
--
--
|