Function poctave

"Renato S. Yamane" <[email protected]> Wed, 6 Jul 2022 11:33:48 +0100
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CANJjkzszgu+MeYbMj+VPisDLwB2cfD_qGXzuA461P==q58DD1A@mail.gmail.com>
Hi,

Is there any function similar to octave (
https://www.mathworks.com/help/signal/ref/poctave.html)?

I have a signal (Pink Noise) and I'm using pwelch to plot the spectrum,
which is showing me a graph with 3dB/octave attenuation, while I would like
to see a flat line (same amount of energy per octave).

Actually I'm using:
semilogx(10*log10(pwelch(pink_noise,hanning(4096),[],sampling_rate,'db')));

Kind regards,
Renato


----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help