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

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

[Octave-bug-tracker] [bug #35959] test of fftfilt.m fails


From: wenchuang gan
Subject: [Octave-bug-tracker] [bug #35959] test of fftfilt.m fails
Date: Fri, 23 Mar 2012 02:55:53 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11

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

                 Summary: test of fftfilt.m fails
                 Project: GNU Octave
            Submitted by: meteorgan
            Submitted on: Fri Mar 23 02:55:52 2012
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

 
>>>>> processing
/home/meteorgan/downloads/octave-3.6.1/scripts/signal/fftfilt.m
1495   ***** test
1496   r = sqrt(1/2) * (1+i);
1497   b = b*r;
1498   assert(fftfilt(b, x  ), r*[1 1 0 0 0 0 0 0 0 0]  , eps);
1499   assert(fftfilt(b, r*x), r*r*[1 1 0 0 0 0 0 0 0 0], eps);
1500   assert(fftfilt(b, x.'), r*[1 1 0 0 0 0 0 0 0 0].', eps);
1501 !!!!! test failed
1502 assert (fftfilt (b, r * x),r * r * [1, 1, 0, 0, 0, 0, 0, 0, 0, 0],eps)
expected
1503  Columns 1 through 5:
1504    0.00000 + 1.00000i   0.00000 + 1.00000i   0.00000 + 0.00000i   0.00000
+ 0.00000i   0.00000 + 0.00000i
1505  Columns 6 through 10:
1506    0.00000 + 0.00000i   0.00000 + 0.00000i   0.00000 + 0.00000i   0.00000
+ 0.00000i   0.00000 + 0.00000i
1507 but got
1508  Columns 1 through 5:
1509   -0.00000 + 1.00000i   0.00000 + 1.00000i   0.00000 - 0.00000i  -0.00000
- 0.00000i  -0.00000 + 0.00000i
1510  Columns 6 through 10:
1511   -0.00000 + 0.00000i  -0.00000 + 0.00000i  -0.00000 + 0.00000i  -0.00000
+ 0.00000i  -0.00000 + 0.00000i
1512 maximum absolute error 2.25371e-16 exceeds tolerance 2.22045e-16

This is problem is very similar to bug #34461
http://savannah.gnu.org/bugs/?34461





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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