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

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

[Octave-bug-tracker] [bug #45834] [T, wr]=grpdelay(b, a, w) does not use


From: anonymous
Subject: [Octave-bug-tracker] [bug #45834] [T, wr]=grpdelay(b, a, w) does not use or return w
Date: Thu, 27 Aug 2015 12:21:50 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?45834>

                 Summary: [T,wr]=grpdelay(b,a,w) does not use or return w
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 27 Aug 2015 12:21:49 UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Robert Jenssen
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I am using signal-1.3.2. The Octave code 

pkg load signal
[b,a]=butter(5,0.3);
[H,w]=freqz(b,a,256);
[Hp,wp]=freqz(b,a,w(1:128));

behaves as expected from the help description. wp=w(1:128).

The Octave code 

pkg load signal
[b,a]=butter(5,0.3);
[T,w]=grpdelay(b,a,256);
[Tp,wp]=grpdelay(b,a,w(1:128));

does not behave as expected. Tp is calculated over 128 points across [0,pi]
(where pi corresponds to Fs/2). I expected 128 points across [0,pi/2]. In
addition, wp is scaled strangely.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45834>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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