Hi Alex, I see that you are the author of pei_tseng_notch, would you
mind taking a look at the test failure? I get the same result as that
shown in the report (reproduced below). You can reply with any
comments or fixes to either this email or the bug report:

https://sourceforge.net/tracker/?func=detail&aid=3553263&group_id=2888&atid=102888

==========================================================

octave:7> test pei_tseng_notch
  ***** test
 ##2Hz bandwidth
 sf = 800; sf2 = sf/2;
 data=[sinetone(49,sf,10,1),sinetone(50,sf,10,1),sinetone(51,sf,10,1)];
 [b, a] = pei_tseng_notch ( 50 / sf2, 2 / sf2 );
 filtered = filter ( b, a, data );
 damp_db = 20 * log10 ( max ( filtered ( end - 1000 : end, : ) ) );
 assert ( damp_db, [ -3 -251.9 -3 ], 0.1 )
!!!!! test failed
assert (damp_db,[-3, -251.9, -3],0.1) expected
    -3.0000  -251.9000    -3.0000
but got
    -3.0103  -250.7217    -3.0935
maximum absolute error 1.17825 exceeds tolerance 0.1

==========================================================

-- 
mike

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to