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

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

[Octave-bug-tracker] [bug #31730] chebwin() function gives wildly differ


From: Rik
Subject: [Octave-bug-tracker] [bug #31730] chebwin() function gives wildly different results from matlab with low values of the 'at' parameter
Date: Wed, 24 Nov 2010 16:21:04 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12

Update of bug #31730 (project octave):

                  Status:                    None => Octave Forge           
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

chebwin is not a function from Octave core, but from the Octave-Forge
packages.  Those are separately maintained.  Please re-file your bug with
them.

This seems pretty easy to fix though, according to the documentation.

## Note that the denominator in W(k) above is not computed, and after
## the inverse Fourier transform the window is scaled by making its
## maximum value unitary.


It appears that the chebwin function is *not* normalizing the result.  This
code gives me the same results as Matlab.

win = chebmin(10,10);
win = win ./ max(win)




This looks like a problem with an Octave Forge package, not a bug
in Octave.  The correct place to report this problem is the
Octave Forge mailing list, address@hidden

A copy of this update to the bug report is being sent to that
list so that they are aware of it.  Please follow up there.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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