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

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

[Octave-bug-tracker] [bug #58604] [octave forge] (signal) square functio


From: vasiliy
Subject: [Octave-bug-tracker] [bug #58604] [octave forge] (signal) square function suffers on rounding error
Date: Thu, 18 Jun 2020 10:56:20 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36

Follow-up Comment #2, bug #58604 (project octave):

I found the other bug case. And I think, they are connected. Look the
attachment. The differences are between vv2 and vv3/vv1;

In this case it isn't only 2 samples per period, but a much more. The function
from signal-packet works very bad and delivers literally unusable result. On
the other hand, only changing one operation (look the differences between
square 3 and square2 declared in a file) the result is much much more
reliable.

PS 
square3 repeats the library-function square.

(file #49307)
    _______________________________________________________

Additional Item Attachment:

File name: square_bug.m                   Size:0 KB
    <https://savannah.gnu.org/file/square_bug.m?file_id=49307>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58604>

_______________________________________________
  Сообщение отправлено по Savannah
  https://savannah.gnu.org/




reply via email to

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