bugGNU Octave - Bugs: bug #47505, [octave forge] (signal)...

 
 

bug #47505: [octave forge] (signal) bitrevorder function returns complex conjugate

Submitter:  None
Submitted:  Wed 23 Mar 2016 06:11:26 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  mtmiller
Originator Name:  hyunwook ji Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 04 Apr 2018 01:14:18 AM UTC, comment #2: 

This is fixed in the signal package repository

https://hg.mtmxr.com/octave-signal/rev/53366a569dfe

Mike Miller <mtmiller>
Group Member
Wed 23 Mar 2016 06:27:18 AM UTC, comment #1: 

Thanks for the bug report. I think I see where this needs to be fixed, but to be sure I am understanding can you supply a simple example that shows the error you are seeing?

Mike Miller <mtmiller>
Group Member
Wed 23 Mar 2016 06:11:26 AM UTC, original submission:  

Hello, I'm using GNU Octave 4.0.0, instead of MATLAB R2015b, for the usage of HW/SW co-simulation.

At first, my source code was written in MATLAB and this code contains 'bitrevorder' function.

Of course, this source code runs correctly in MATLAB.

But in Octave, my source code runs incorrectly because of the difference of 'bitrevorder' function.

In MATLAB, what bitrevorder function do : just reorder some values(double, complex number, ..., whatever.) in bit-reversal order.

But, the same function in Octave doesn't.
Yeah, it also reorders some values in bit-reversal order, but the results are "COMPLEX CONJUGATED" unnecessarily.

I think you guys probably would not have intended to create this function to reorder in bit-reversal order "with complex conjugation",
that's why I think it is the bug inside the bitrevorder function.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-04 mtmiller StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2017-08-13 jwe Summarysignal package: bitrevorder function returns complex conjugate [octave forge] (signal) bitrevorder function returns complex conjugate
    2016-03-29 mtmiller Assigned toNone mtmiller
    2016-03-23 mtmiller StatusNone Need Info
        SummaryBit reversal order(bitrevorder) function in \'Signal\' package is incorrect. signal package: bitrevorder function returns complex conjugate

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code