Thank you Doug.
I tested this ellipord at win10 and octave 4.4.1. It works.
However plotting do not work correctly at win10 laptop(Acer). Axis
and curves moves different direction and overlap. My ubuntu pc is
acer 10" (old). I try to update xubuntu to version 18.04, but how
I can find octave 4.4.1 for linux. Newest version I found was
4.2.2.
BR Tarmo
Doug Stewart kirjoitti 1.11.2018 klo
18.02:
Ok.
I can not open this kind of file format. Are you using
Linux or windows pc? What octave version?
Tarmo
I am on ubuntu 18.04 octave 4.4.1
Try this file
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.
--
--
--
DAS ![Certificate for
206392 Certificate for 206392]()
|