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

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

[Octave-bug-tracker] [bug #47279] Unwrap gives incorrect results for del


From: anonymous
Subject: [Octave-bug-tracker] [bug #47279] Unwrap gives incorrect results for deltas > 2*pi
Date: Sat, 27 Feb 2016 09:25:36 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

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

                 Summary: Unwrap gives incorrect results for deltas > 2*pi
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 27 Feb 2016 09:25:35 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Harry
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Outputs should never contain jumps greater than TOL, as per definition:

============
-- Function File: B = unwrap (X, TOL, DIM)
Unwrap radian phases by adding multiples of 2*pi as appropriate to remove
jumps greater than TOL. TOL defaults to pi.
============

However, this generally fails when deltas are greater than 2*pi. For example,

>> unwrap([0,7])
ans = 0     -5.56637061435917

The correct functionality would be:

>> unwrap([0,7])
ans = 0     0.716814692820414

Note: This is closely related to Bug #33883, which seems to have only been
fixed in special cases.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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