bugGNU Octave - Bugs: bug #32442, fftshift doesn't work for any...

 
 

bug #32442: fftshift doesn't work for any vector

Submitted by:  None
Submitted on:  Sat 12 Feb 2011 10:40:28 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: César López RamírezOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.4.0
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon 21 Feb 2011 02:00:30 AM UTC, comment #2:

Thanks for supplying a patch. I've applied it (http://hg.savannah.gnu.org/hgweb/octave/rev/189baf055143) and verified that it fixes the problem. To access it you will need to build from the Mercurial sources.

Rik <rik5>
Project Administrator
Mon 14 Feb 2011 08:53:52 AM UTC, comment #1:

The error occurs in lines 68, 69 and 70 of the file fftshift.m, the problem is that the length of the vector x is also given the name x, the solution may be to rename the length by a different name such as xl in the attached diff.

(file #22683)

Karsten Trulsen <karstent>
Sat 12 Feb 2011 10:40:28 PM UTC, original submission:
Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #22683:  fftshift.m.diff added by karstent (594B - text/x-patch - fftshift.m.diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by karstent (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 21 Feb 2011 01:57:43 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 14 Feb 2011 08:53:52 AM UTCkarstentAttached File-=>Added fftshift.m.diff, #22683

    Back to the top


    Powered by Savane 3.1-cleanup