Signal Package Filter Design

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Signal Package Filter Design

Thomas D. Dean-2
I am attempting to duplicate a python application in octave.

octave:112> pkg list signal
Package Name  | Version | Installation directory
--------------+---------+-----------------------
       signal *|   1.3.2 | /home/tomdean/octave/signal-1.3.2


remez(n_taps, [0, f_bw, f_bw+(Fs/2-f_bw)/4,Fs/2],[1,0],Hz=Fs)

 > pwd
/home/tomdean/octave/signal-1.3.2
 > ls x86_64-pc-linux-gnu-api-v51/
__fwht__.oct     cl2bp.oct  medfilt1.oct  sosfilt.oct
__ultrwin__.oct  doc-cache  remez.oct     upfirdn.oct

Note, no PKG_ADD file

The remez.oct file is there, but, there does not seem to be any way to
call it.

How do I do this?

Tom Dean

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Signal Package Filter Design

Mike Miller-4
On Sun, Sep 03, 2017 at 03:12:42 -0700, Thomas D. Dean wrote:

> I am attempting to duplicate a python application in octave.
>
> octave:112> pkg list signal
> Package Name  | Version | Installation directory
> --------------+---------+-----------------------
>       signal *|   1.3.2 | /home/tomdean/octave/signal-1.3.2
>
>
> remez(n_taps, [0, f_bw, f_bw+(Fs/2-f_bw)/4,Fs/2],[1,0],Hz=Fs)
>
> > pwd
> /home/tomdean/octave/signal-1.3.2
> > ls x86_64-pc-linux-gnu-api-v51/
> __fwht__.oct     cl2bp.oct  medfilt1.oct  sosfilt.oct
> __ultrwin__.oct  doc-cache  remez.oct     upfirdn.oct
>
> Note, no PKG_ADD file
>
> The remez.oct file is there, but, there does not seem to be any way to call
> it.
>
> How do I do this?
Calling remez works for me.

--
mike

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Signal Package Filter Design

Doug Stewart-4


On Sun, Sep 3, 2017 at 3:50 PM, Mike Miller <[hidden email]> wrote:
On Sun, Sep 03, 2017 at 03:12:42 -0700, Thomas D. Dean wrote:
> I am attempting to duplicate a python application in octave.
>
> octave:112> pkg list signal
> Package Name  | Version | Installation directory
> --------------+---------+-----------------------
>       signal *|   1.3.2 | /home/tomdean/octave/signal-1.3.2
>
>
> remez(n_taps, [0, f_bw, f_bw+(Fs/2-f_bw)/4,Fs/2],[1,0],Hz=Fs)
>
> > pwd
> /home/tomdean/octave/signal-1.3.2
> > ls x86_64-pc-linux-gnu-api-v51/
> __fwht__.oct     cl2bp.oct  medfilt1.oct  sosfilt.oct
> __ultrwin__.oct  doc-cache  remez.oct     upfirdn.oct
>
> Note, no PKG_ADD file
>
> The remez.oct file is there, but, there does not seem to be any way to call
> it.
>
> How do I do this?

Calling remez works for me.

--
mike

_


It does not work for me.
Tried with latest stable and dev.

--------------+---------+-----------------------
     control *|   3.0.0 | /home/doug/octave/control-3.0.0
      signal *|   1.3.2 | /home/doug/octave/signal-1.3.2
    symbolic *|   2.5.0 | /home/doug/octave/symbolic-2.5.0
>> help remez
error: get_help_text: /home/doug/octave/signal-1.3.2/x86_64-pc-linux-gnu-api-v51/remez.oct: failed to load: /home/doug/octave/signal-1.3.2/x86_64-pc-linux-gnu-api-v51/remez.oct: undefined symbol: _ZTIN6octave12chunk_bufferE
error: called from
    help at line 95 column 18
>>
Doug

--
DAS


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Signal Package Filter Design

Dmitri A. Sergatskov


On Sun, Sep 3, 2017 at 4:52 PM, Doug Stewart <[hidden email]> wrote:


On Sun, Sep 3, 2017 at 3:50 PM, Mike Miller <[hidden email]> wrote:
On Sun, Sep 03, 2017 at 03:12:42 -0700, Thomas D. Dean wrote:
> I am attempting to duplicate a python application in octave.
>
> octave:112> pkg list signal
> Package Name  | Version | Installation directory
> --------------+---------+-----------------------
>       signal *|   1.3.2 | /home/tomdean/octave/signal-1.3.2
>
>
> remez(n_taps, [0, f_bw, f_bw+(Fs/2-f_bw)/4,Fs/2],[1,0],Hz=Fs)
>
> > pwd
> /home/tomdean/octave/signal-1.3.2
> > ls x86_64-pc-linux-gnu-api-v51/
> __fwht__.oct     cl2bp.oct  medfilt1.oct  sosfilt.oct
> __ultrwin__.oct  doc-cache  remez.oct     upfirdn.oct
>
> Note, no PKG_ADD file
>
> The remez.oct file is there, but, there does not seem to be any way to call
> it.
>
> How do I do this?

Calling remez works for me.

--
mike

_


It does not work for me.
Tried with latest stable and dev.

--------------+---------+-----------------------
     control *|   3.0.0 | /home/doug/octave/control-3.0.0
      signal *|   1.3.2 | /home/doug/octave/signal-1.3.2
    symbolic *|   2.5.0 | /home/doug/octave/symbolic-2.5.0
>> help remez
error: get_help_text: /home/doug/octave/signal-1.3.2/x86_64-pc-linux-gnu-api-v51/remez.oct: failed to load: /home/doug/octave/signal-1.3.2/x86_64-pc-linux-gnu-api-v51/remez.oct: undefined symbol: _ZTIN6octave12chunk_bufferE
error: called from
    help at line 95 column 18
>>
Doug



​Works for me (with dev):

​octave:5>  help remez
'remez' is a function from the file /home/dima/octave/signal-1.3.2/x86_64-pc-linux-gnu-api-v51/remez.oct

 -- Loadable Function: B = remez (N, F, A)
 -- Loadable Function: B = remez (N, F, A, W)
 -- Loadable Function: B = remez (N, F, A, W, FTYPE)
 -- Loadable Function: B = remez (N, F, A, W, FTYPE, GRIDDENSITY)
     Parks-McClellan optimal FIR filter design.
     N
          gives the number of taps in the returned filter
     F
          gives frequency at the band edges [b1 e1 b2 e2 b3 e3 ...]
     A
          gives amplitude at the band edges [a(b1) a(e1) a(b2) a(e2)
          ...]
     W
          gives weighting applied to each band
     FTYPE
          is "bandpass", "hilbert" or "differentiator"
     GRIDDENSITY
          determines how accurately the filter will be constructed.  The
          minimum value is 16, but higher numbers are slower to compute.

     Frequency is in the range (0, 1), with 1 being the Nyquist
     frequency.

octave:6> remez(n_taps, [0, f_bw, f_bw+(Fs/2-f_bw)/4,Fs/2],[1,0],Hz=Fs)
error: 'n_taps' undefined near line 1 column 7



_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Signal Package Filter Design

Mike Miller-4
In reply to this post by Doug Stewart-4
On Sun, Sep 03, 2017 at 17:52:09 -0400, Doug Stewart wrote:
> >> help remez
> error: get_help_text:
> /home/doug/octave/signal-1.3.2/x86_64-pc-linux-gnu-api-v51/remez.oct:
> failed to load:
> /home/doug/octave/signal-1.3.2/x86_64-pc-linux-gnu-api-v51/remez.oct:
> undefined symbol: _ZTIN6octave12chunk_bufferE
> error: called from
>     help at line 95 column 18

This is a clear indication of the Octave API changing since you compiled
the function. You probably compiled this oct file with a different
version of Octave than you are now running.

If you're running Octave's default branch, you may periodically need to
reinstall packages as the API changes.

If you installed the package with Octave 4.2, then you definitely need
to reinstall to use it with Octave dev.

--
mike

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Signal Package Filter Design

Thomas D. Dean-2
On 09/03/2017 03:24 PM, Mike Miller wrote:

> On Sun, Sep 03, 2017 at 17:52:09 -0400, Doug Stewart wrote:
>>>> help remez
>> error: get_help_text:
>> /home/doug/octave/signal-1.3.2/x86_64-pc-linux-gnu-api-v51/remez.oct:
>> failed to load:
>> /home/doug/octave/signal-1.3.2/x86_64-pc-linux-gnu-api-v51/remez.oct:
>> undefined symbol: _ZTIN6octave12chunk_bufferE
>> error: called from
>>      help at line 95 column 18
>
> This is a clear indication of the Octave API changing since you compiled
> the function. You probably compiled this oct file with a different
> version of Octave than you are now running.
>
> If you're running Octave's default branch, you may periodically need to
> reinstall packages as the API changes.
>
> If you installed the package with Octave 4.2, then you definitely need
> to reinstall to use it with Octave dev.

Wow!  Huge number of warnings!  Some of them are from remez.cc.  The
version I downloaded from source did not present any warnings.

Tom Dean

octave:324> pkg uninstall signal
octave:325> pkg install -forge signal
In file included from sosfilt.cc:16:0:
/usr/local/include/octave-4.3.0+/octave/../octave/config.h:28:2:
warning: #warning "config.h has been deprecated; there is no need to
include it directly" [-Wcpp]
  #warning "config.h has been deprecated; there is no need to include it
directly
   ^
In file included from upfirdn.cc:16:0:
/usr/local/include/octave-4.3.0+/octave/../octave/config.h:28:2:
warning: #warning "config.h has been deprecated; there is no need to
include it directly" [-Wcpp]
  #warning "config.h has been deprecated; there is no need to include it
directly
   ^
In file included from sosfilt.cc:20:0:
/usr/local/include/octave-4.3.0+/octave/../octave/oct-obj.h:33:2:
warning: #warning oct-obj.h has been deprecated; use ovl.h instead [-Wcpp]
  #warning oct-obj.h has been deprecated; use ovl.h instead
   ^
In file included from upfirdn.cc:20:0:
/usr/local/include/octave-4.3.0+/octave/../octave/oct-obj.h:33:2:
warning: #warning oct-obj.h has been deprecated; use ovl.h instead [-Wcpp]
  #warning oct-obj.h has been deprecated; use ovl.h instead
   ^
medfilt1.cc: In function 'octave_value_list Fmedfilt1(const
octave_value_list&, int)':
medfilt1.cc:189:31: warning: 'bool octave_value::is_complex_type()
const' is deprecated: [4.4]: use 'iscomplex' instead
[-Wdeprecated-declarations]
    if (args(0).is_complex_type())
                                ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/ovl.h:36:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:33,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
                  from medfilt1.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/ov.h:709:8: note:
declared here
    bool is_complex_type (void) const
         ^
medfilt1.cc:196:50: warning: 'int NINT(double)' is deprecated: [4.2]:
use 'octave::math::nint' instead [-Wdeprecated-declarations]
    if (nargin > 1) n = NINT(args(1).double_value());
                                                   ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct-inttypes.h:35:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-inlines.cc:40,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MArray.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
                  from medfilt1.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/lo-mappers.h:788:12:
note: declared here
  inline int NINT (double x) { return octave::math::nint (x); }
             ^
sosfilt.cc: In function 'octave_value_list Fsosfilt(const
octave_value_list&, int)':
sosfilt.cc:55:45: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
        gripe_wrong_type_arg("sosfilt",args(0));
                                              ^
In file included from sosfilt.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
sosfilt.cc:69:45: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
        gripe_wrong_type_arg("sosfilt",args(1));
                                              ^
In file included from sosfilt.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
remez.cc: In function 'octave_value_list Fremez(const
octave_value_list&, int)':
remez.cc:787:45: warning: 'int NINT(double)' is deprecated: [4.2]: use
'octave::math::nint' instead [-Wdeprecated-declarations]
    int numtaps = NINT (args(0).double_value()) + 1; // #coeff = filter
order+1
                                              ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct-inttypes.h:35:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-inlines.cc:40,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MArray.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
                  from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/lo-mappers.h:788:12:
note: declared here
  inline int NINT (double x) { return octave::math::nint (x); }
             ^
remez.cc:794:33: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
    int numbands = o_bands.length()/2;
                                  ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
                  from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
    octave_idx_type length (void) const { return numel (); }
                    ^
remez.cc:796:38: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
    if (numbands < 1 || o_bands.length()%2 == 1) {
                                       ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
                  from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
    octave_idx_type length (void) const { return numel (); }
                    ^
remez.cc:800:32: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
    for (i=1; i < o_bands.length(); i++) {
                                 ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
                  from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
    octave_idx_type length (void) const { return numel (); }
                    ^
remez.cc:814:25: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
    if (o_response.length() != o_bands.length()) {
                          ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
                  from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
    octave_idx_type length (void) const { return numel (); }
                    ^
remez.cc:814:45: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
    if (o_response.length() != o_bands.length()) {
                                              ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
                  from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
    octave_idx_type length (void) const { return numel (); }
                    ^
remez.cc:829:27: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
        if (o_weight.length() != numbands) {
                            ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
                  from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
    octave_idx_type length (void) const { return numel (); }
                    ^
remez.cc:844:44: warning: 'int NINT(double)' is deprecated: [4.2]: use
'octave::math::nint' instead [-Wdeprecated-declarations]
        density = NINT(args(4).double_value());
                                             ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct-inttypes.h:35:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-inlines.cc:40,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MArray.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
                  from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/lo-mappers.h:788:12:
note: declared here
  inline int NINT (double x) { return octave::math::nint (x); }
             ^
remez.cc:853:44: warning: 'int NINT(double)' is deprecated: [4.2]: use
'octave::math::nint' instead [-Wdeprecated-declarations]
        density = NINT(args(5).double_value());
                                             ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct-inttypes.h:35:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-inlines.cc:40,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MArray.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
                  from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/lo-mappers.h:788:12:
note: declared here
  inline int NINT (double x) { return octave::math::nint (x); }
             ^
upfirdn.cc: In function 'octave_value_list Fupfirdn(const
octave_value_list&, int)':
upfirdn.cc:108:48: warning: 'void gripe_wrong_type_arg(const char*,
const octave_value&, bool)' is deprecated: [4.2]: use
'err_wrong_type_arg' or 'warn_wrong_type_arg' instead
[-Wdeprecated-declarations]
        gripe_wrong_type_arg ("upfirdn", args (1));
                                                 ^
In file included from upfirdn.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
upfirdn.cc:116:48: warning: 'void gripe_wrong_type_arg(const char*,
const octave_value&, bool)' is deprecated: [4.2]: use
'err_wrong_type_arg' or 'warn_wrong_type_arg' instead
[-Wdeprecated-declarations]
        gripe_wrong_type_arg ("upfirdn", args (2));
                                                 ^
In file included from upfirdn.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
upfirdn.cc:124:48: warning: 'void gripe_wrong_type_arg(const char*,
const octave_value&, bool)' is deprecated: [4.2]: use
'err_wrong_type_arg' or 'warn_wrong_type_arg' instead
[-Wdeprecated-declarations]
        gripe_wrong_type_arg ("upfirdn", args (3));
                                                 ^
In file included from upfirdn.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
upfirdn.cc:129:30: warning: 'bool octave_value::is_real_type() const' is
deprecated: [4.4]: use 'isreal' instead [-Wdeprecated-declarations]
    if (args (0).is_real_type ())
                               ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/ovl.h:36:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:33,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
                  from upfirdn.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/ov.h:702:8: note:
declared here
    bool is_real_type (void) const
         ^
upfirdn.cc:134:52: warning: 'void gripe_wrong_type_arg(const char*,
const octave_value&, bool)' is deprecated: [4.2]: use
'err_wrong_type_arg' or 'warn_wrong_type_arg' instead
[-Wdeprecated-declarations]
            gripe_wrong_type_arg ("upfirdn", args (0));
                                                     ^
In file included from upfirdn.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
upfirdn.cc:141:38: warning: 'bool octave_value::is_complex_type() const'
is deprecated: [4.4]: use 'iscomplex' instead [-Wdeprecated-declarations]
    else if (args (0).is_complex_type ())
                                       ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/ovl.h:36:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:33,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
                  from upfirdn.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/ov.h:709:8: note:
declared here
    bool is_complex_type (void) const
         ^
upfirdn.cc:146:52: warning: 'void gripe_wrong_type_arg(const char*,
const octave_value&, bool)' is deprecated: [4.2]: use
'err_wrong_type_arg' or 'warn_wrong_type_arg' instead
[-Wdeprecated-declarations]
            gripe_wrong_type_arg ("upfirdn", args (0));
                                                     ^
In file included from upfirdn.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
upfirdn.cc:155:48: warning: 'void gripe_wrong_type_arg(const char*,
const octave_value&, bool)' is deprecated: [4.2]: use
'err_wrong_type_arg' or 'warn_wrong_type_arg' instead
[-Wdeprecated-declarations]
        gripe_wrong_type_arg ("upfirdn", args (0));
                                                 ^
In file included from upfirdn.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
cl2bp.cc: In function 'octave_value_list Fcl2bp(const
octave_value_list&, int)':
cl2bp.cc:87:43: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
      gripe_wrong_type_arg("cl2bp", args (0));
                                            ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:36:0,
                  from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
cl2bp.cc:92:43: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
      gripe_wrong_type_arg("cl2bp", args (1));
                                            ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:36:0,
                  from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
cl2bp.cc:97:43: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
      gripe_wrong_type_arg("cl2bp", args (2));
                                            ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:36:0,
                  from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
cl2bp.cc:102:43: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
      gripe_wrong_type_arg("cl2bp", args (3));
                                            ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:36:0,
                  from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
cl2bp.cc:107:43: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
      gripe_wrong_type_arg("cl2bp", args (4));
                                            ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:36:0,
                  from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
cl2bp.cc:110:24: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
    if (up_vector.length() != 3 || lo_vector.length() != 3) {
                         ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
                  from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
    octave_idx_type length (void) const { return numel (); }
                    ^
cl2bp.cc:110:51: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
    if (up_vector.length() != 3 || lo_vector.length() != 3) {
                                                    ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
                  from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
    octave_idx_type length (void) const { return numel (); }
                    ^
cl2bp.cc:124:43: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
      gripe_wrong_type_arg("cl2bp", args (5));
                                            ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:36:0,
                  from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
  gripe_wrong_type_arg (const char *name, const octave_value& tc,
  ^
upfirdn.cc: In instantiation of 'MT upfirdn(MT&, ColumnVector&,
octave_idx_type, octave_idx_type) [with MT = Matrix; octave_idx_type =
long int]':
upfirdn.cc:138:37:   required from here
upfirdn.cc:40:33: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
    octave_idx_type Lh = h.length ();
                                  ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/str-vec.h:32:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
                  from upfirdn.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
    octave_idx_type length (void) const { return numel (); }
                    ^
upfirdn.cc:40:33: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
    octave_idx_type Lh = h.length ();
                                  ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/str-vec.h:32:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
                  from upfirdn.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
    octave_idx_type length (void) const { return numel (); }
                    ^
upfirdn.cc: In instantiation of 'MT upfirdn(MT&, ColumnVector&,
octave_idx_type, octave_idx_type) [with MT = ComplexMatrix;
octave_idx_type = long int]':
upfirdn.cc:150:44:   required from here
upfirdn.cc:40:33: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
    octave_idx_type Lh = h.length ();
                                  ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/str-vec.h:32:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
                  from upfirdn.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
    octave_idx_type length (void) const { return numel (); }
                    ^
upfirdn.cc:40:33: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
    octave_idx_type Lh = h.length ();
                                  ^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/str-vec.h:32:0,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:31,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
                  from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
                  from upfirdn.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
    octave_idx_type length (void) const { return numel (); }
                    ^

For information about changes from previous versions of the signal
package, run 'news signal'.

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave