octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #66024] cl2bp crashes Octave 9.2.0 on Windows


From: Dennis Cote
Subject: [Octave-bug-tracker] [bug #66024] cl2bp crashes Octave 9.2.0 on Windows 10
Date: Thu, 25 Jul 2024 15:57:33 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?66024>

                 Summary: cl2bp crashes Octave 9.2.0 on Windows 10
                   Group: GNU Octave
               Submitter: dennisc_hi
               Submitted: Thu 25 Jul 2024 07:57:30 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: Dennis Cote
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 9.2.0
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 25 Jul 2024 07:57:30 PM UTC By: Dennis Cote <dennisc_hi>
I have the control and signal packages loaded. I was trying to use the cl2bp
function to generate an FIR filter. The following sequence of commands crashes
Octave 9.2.0 on Windows 10. The Octave application closes without any error
message. I can execute all the lines before the call to cl2bp without any
error.


M = 30;
Fs = 16000;
Fn = Fs/2;
F1 = 50;
W1 = F1/Fn * pi;
F2 = 7000;
W2 = F2/Fn * pi;
UP = [1 db2mag(0.5) db2mag(-40)];
LO = [0 db2mag(-0.5) 0];
b = cl2bp(M, W1, W2, UP, LO);


I can execute the example command from the cl2bp documentation without error.


h = cl2bp(30, 0.3*pi, 0.6*pi, [0.02, 1.02, 0.02], [-0.02, 0.98, -0.02],
2^11);


If I change the cl2bp call in my script to add the optional gridsize argument
with a value of 2^11 as in the example as shown below, the function executes
without error.


b = cl2bp(M, W1, W2, UP, LO, 2^11);


There appears to be a crashing bug in the cl2bp function without the gridsize
argument or with the default value of the gridsize argument.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66024>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]