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

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

[Octave-bug-tracker] [bug #63440] sosfilt - NaN


From: Renato
Subject: [Octave-bug-tracker] [bug #63440] sosfilt - NaN
Date: Tue, 29 Nov 2022 07:18:20 -0500 (EST)

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

                 Summary: sosfilt - NaN
                 Project: GNU Octave
               Submitter: yamane
               Submitted: Tue 29 Nov 2022 12:18:17 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 7.3.0
         Discussion Lock: Any
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 29 Nov 2022 12:18:17 PM UTC By: Renato <yamane>

sampling_rate = 44100;
length = 30;
hpf = 45;
lpf = 450;
filter_order = 2;
typenoise = noise((length/2)*sampling_rate, 1, 'pink');
[z, p, k] = butter(filter_order, [hpf/(sampling_rate/2),
lpf/(sampling_rate/2)]);
sos = zp2sos (z, p, k);
filtered = sosfilt(sos, typenoise);


"filtered" is resulting a NaN

Same code as working fine on Octave 6.4







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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