bugGNU Octave - Bugs: bug #39133, signal package: grpdelay fails...

 
 

bug #39133: signal package: grpdelay fails with broadcast warning for column coefficient vectors

Submitted by:  None
Submitted on:  Sat 01 Jun 2013 01:35:35 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Robert JenssenOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.4
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 26 Oct 2013 08:47:39 AM UTC, comment #1:

Thank you for your bug report. This bug has now been fixed in the development sources (cset 1978e7df5ade) and will be released with the next version.

Carnë Draug <carandraug>
Project Member
Sat 01 Jun 2013 01:35:35 PM UTC, original submission:

grpdelay fails if the coefficient vectors are columns.

This script:

version
warning ("error", "Octave:broadcast");
DR=[1.00000 -0.00000 -3.37219 0.00000 ...
5.45710 -0.00000 -5.24394 0.00000 ...
3.12049 -0.00000 -1.08770 0.00000 0.17404];
N=[-0.0139469 -0.0222376 0.0178631 0.0451737 ...
0.0013962 -0.0259712 0.0016338 0.0165189 ...
0.0115098 0.0095051 0.0043874];
[T,w]=grpdelay(N,DR,1024);
plot(w/pi,T)
T=[];
warning ("off", "Octave:broadcast");
[T,w]=grpdelay(N',DR',1024);
plot(w/pi,T)

produces:

octave:1> version
ans = 3.6.4
octave:2> warning ("error", "Octave:broadcast");
octave:3> DR=[1.00000 -0.00000 -3.37219 0.00000 ...

> 5.45710 -0.00000 -5.24394 0.00000 ...
> 3.12049 -0.00000 -1.08770 0.00000 0.17404];

octave:4> N=[-0.0139469 -0.0222376 0.0178631 0.0451737 ...

> 0.0013962 -0.0259712 0.0016338 0.0165189 ...
> 0.0115098 0.0095051 0.0043874];

octave:5> [T,w]=grpdelay(N,DR,1024);
octave:6> plot(w/pi,T)
octave:7> T=[];
octave:8> warning ("off", "Octave:broadcast");
octave:9> [T,w]=grpdelay(N',DR',1024);
warning: grpdelay: setting group delay to 0 at singularity
octave:10> plot(w/pi,T)
octave:11>

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 26 Oct 2013 08:47:39 AM UTCcarandraugStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sat 01 Jun 2013 07:07:47 PM UTCmtmillerStatusNone=>Confirmed
      Operating SystemGNU/Linux=>Any
      Summarygrpdelay fails with broadcast warning for column coeficient vectors=>signal package: grpdelay fails with broadcast warning for column coefficient vectors

    Back to the top


    Powered by Savane 3.1-cleanup1