Discussion:
Octave 4.0.0_signal package_ellipord.m_xubuntu
Tarmo Tapio
2018-10-31 17:09:29 UTC
Permalink
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
Doug Stewart
2018-10-31 17:22:54 UTC
Permalink
Post by Tarmo Tapio
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

<https://linuxcounter.net/user/206392.html>
Tarmo Tapio
2018-11-01 04:26:33 UTC
Permalink
I have upgraded now to version 4.2.2 (sudo add-apt-repository
ppa:octave/stable) but I get same error.
Post by Tarmo Tapio
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
Doug Stewart
2018-11-01 10:50:12 UTC
Permalink
Post by Tarmo Tapio
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?
Post by Tarmo Tapio
Post by Tarmo Tapio
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
Tarmo Tapio
2018-11-01 12:09:52 UTC
Permalink
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);
.....

Tarmo
Post by Tarmo Tapio
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?
Post by tarmo.tapio
On Wed, Oct 31, 2018 at 1:08 PM Tarmo Tapio
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
Doug Stewart
2018-11-01 12:40:30 UTC
Permalink
Post by Tarmo Tapio
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
Post by Tarmo Tapio
.....
Tarmo
Post by Tarmo Tapio
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?
Post by Tarmo Tapio
Post by Tarmo Tapio
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
--
DAS

<https://linuxcounter.net/user/206392.html>
Tarmo Tapio
2018-11-01 14:43:58 UTC
Permalink
Ok.

I can not open this kind of file format. Are you using Linux or windows
pc? What octave version?

Tarmo
Post by Tarmo Tapio
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
Post by Tarmo Tapio
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?
Post by tarmo.tapio
On Wed, Oct 31, 2018 at 1:08 PM Tarmo Tapio
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
--
DAS
Doug Stewart
2018-11-01 16:02:12 UTC
Permalink
Post by Tarmo Tapio
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
Post by Tarmo Tapio
Post by Tarmo Tapio
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
Post by Tarmo Tapio
.....
Tarmo
Post by Tarmo Tapio
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?
Post by Tarmo Tapio
Post by Tarmo Tapio
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
--
DAS
--
DAS[image: Certificate for 206392]
Tarmo Tapio
2018-11-01 16:42:57 UTC
Permalink
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
Post by Tarmo Tapio
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
On Thu, Nov 1, 2018 at 8:08 AM Tarmo Tapio
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
On Thu, Nov 1, 2018, 12:25 AM Tarmo Tapio
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?
Post by tarmo.tapio
On Wed, Oct 31, 2018 at 1:08 PM Tarmo Tapio
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
--
DAS
--
DASCertificate for 206392
Tarmo Tapio
2018-11-01 19:39:01 UTC
Permalink
I have now xubuntu 16.04 and octave 4.4.1 but I can not install signal
package. What is correct command? To install octave 4.4.1 I had to use
flatpak...flathub...etc. Command sudo apt-get install octave-signal do
not work anymore.

Tarmo
Post by Tarmo Tapio
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
On Thu, Nov 1, 2018 at 8:08 AM Tarmo Tapio
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
On Thu, Nov 1, 2018, 12:25 AM Tarmo Tapio
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?
Post by tarmo.tapio
On Wed, Oct 31, 2018 at 1:08 PM Tarmo Tapio
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
--
DAS
--
DASCertificate for 206392
Tarmo Tapio
2018-11-01 12:34:08 UTC
Permalink
Here is also error txt:

error: 'validate_filter_bands' undefined near line 69 column 5
error: called from
    ellipord at line 69 column 5
    elliptinensuodin at line 3 column 7
Post by Tarmo Tapio
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?
Post by tarmo.tapio
On Wed, Oct 31, 2018 at 1:08 PM Tarmo Tapio
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
tarmo.tapio
2018-10-31 17:48:08 UTC
Permalink
I think this is  newest linux version?


LÀhetetty Samsung Galaxy -Àlypuhelimesta.
-------- AlkuperÀinen viesti --------LÀhettÀjÀ: Doug Stewart <***@gmail.com> PÀivÀmÀÀrÀ: 31.10.2018 19.22 (GMT+02:00) Saaja: Tarmo Tapio <***@pp.inet.fi> Kopio: Help-Octave List <***@octave.org> Aihe: Re: Octave 4.0.0_signal package_ellipord.m_xubuntu


On Wed, Oct 31, 2018 at 1:08 PM Tarmo Tapio <***@pp.inet.fi> wrote:
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
Mike Miller
2018-10-31 18:02:32 UTC
Permalink
Post by Tarmo Tapio
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?
The function 'validate_filter_bands' is part of the signal package, so
this looks like a partial or faulty install of the package.

How did you install the signal package for Octave 4.0.0? Are you using
'pkg load signal'? What directories are in Octave's path after the
package is loaded?
--
mike
Loading...