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

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

[Octave-bug-tracker] [bug #43673] fft() gives incorrect result for 3-dim


From: count
Subject: [Octave-bug-tracker] [bug #43673] fft() gives incorrect result for 3-dim array with singleton 3rd dimension
Date: Sun, 23 Nov 2014 14:22:39 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0

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

                 Summary: fft() gives incorrect result for 3-dim array with
singleton 3rd dimension
                 Project: GNU Octave
            Submitted by: count
            Submitted on: Sun 23 Nov 2014 02:22:38 PM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

like this:

octave:7> fft( zeros(2,2,2), 1, 3 )
ans =

    0.0000e+00 -         NaNi   1.8354e-316 +  0.0000e+00i
   2.1220e-314 + 1.6347e-316i    0.0000e+00 + 9.3214e-315i


It should return zeros(2,2).
(interestingly, ifft() gives correct result)
Bug also exist in version 3.6.2 and 3.8.1.


Also a closely related Matlab Compatibility problem:

octave:11> fft( zeros(2,2,1), 1, 3 )
error: fft: DIM must be a valid dimension along which to perform FFT


Expected result is return zeros(2,2,1) it self.
ifft() has this problem too.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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