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

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

[Octave-bug-tracker] [bug #60427] decimate function outputs divergent nu


From: Paul Netsaver
Subject: [Octave-bug-tracker] [bug #60427] decimate function outputs divergent numbers
Date: Tue, 20 Apr 2021 17:26:04 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?60427>

                 Summary: decimate function outputs divergent numbers
                 Project: GNU Octave
            Submitted by: netsaver
            Submitted on: Tue 20 Apr 2021 09:26:02 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Netsaver Paul
        Originator Email: 
             Open/Closed: Open
                 Release: 6.2.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

...\packages\signal-1.4.1\decimate.m

decimate(rand(1e4,1),1e3)
ans [Matlab 2016a]=
    0.5761
    0.4891
    0.4910
    0.5070
    0.5118
    0.4927
    0.4988
    0.5104
    0.5027
    0.5145

ans [Octave 6.2]=
  -6.7591e+108
  -3.6381e+102
   -1.9676e+96
   -8.4446e+89
   -4.0507e+83
   -2.1474e+77
   -8.1876e+70
   -3.5228e+64
   -1.7350e+58
   -8.8927e+51

Does not happen with ratio = 1e2, but maybe the use case is not so
significant...
regards,
Paul Netsaver




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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