[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50820] pwelch incorrectly discards DC compone
From: |
Dmitri A. Sergatskov |
Subject: |
[Octave-bug-tracker] [bug #50820] pwelch incorrectly discards DC component |
Date: |
Mon, 17 Apr 2017 17:59:41 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #1, bug #50820 (project octave):
I think the issue here is that in octave's pwelch the default
is to subtract mean from the signal, and in matlab's apparently not.
Try to add "no-strip" option:
[X,f]=pwelch(x,fs,0,fs,fs, "no-strip");
Dmitri.
--
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50820>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/