Questions tagged [power-spectral-density]

The Power Spectral Density (PSD) is the distribution of signal power over frequencies.

Filter by
Sorted by
Tagged with
-2
votes
0answers
13 views

power spectral density estimation

I have an audio signal carols.wav. How do I obtain the PSD in Matlab using the inbuild pwelch function and also to write my own code.
0
votes
1answer
22 views

How to implement Matlab welch in python with the same result?

I want to implement Matlab pwelch function in python. The Matlab code is shown blew: [PSD,f] = pwelch(data,length(data),[],[],2000); which data is a row vector ...
1
vote
1answer
47 views

Plotting curved peaks on PSD graph

I am a PhD student with little engineering experience, currently attempting to recreate the signal processing techniques used in this paper: Monitoring Vital Signs and Postures During Sleep Using WiFi ...
0
votes
1answer
53 views

What are some of the disadvantages of parametric PSD estimation methods?

Roughly speaking, the methods of power-spectra estimation can be divided in two categories : parametric and non-parametric. From what I understood, parametric methods assumes that the signal can be ...
0
votes
0answers
25 views

why a limit on passband in spectral masks?

I was wondering why there is a usually flat limit on passband of every spectral masks. For sidebands it makes sense but for passband not so much.
0
votes
1answer
102 views

Correct comparison of FFT noise with FFT signal

I have a sensor which I am using to track a strong but noisy varying signal. When the signal is present there is a lot of energy in the FFT bins, when there is no signal the is much less energy - but ...
1
vote
0answers
49 views

Definitions of PSD, ESD and Autocorrelation

This question is going to encompass multiple areas and may not have a single answer but here it goes. I'm trying to conceptualize 3 different concepts and how they relate to each other. These 3 ...
2
votes
1answer
25 views

Difference of doing a PSD estimate of data and logarithmic transformed data?

What is the difference between doing a PSD estimate with data and the same data but which is logarithmically transformed before the estimate? Does it make the data more sinusoidal in nature? An ...
1
vote
1answer
819 views

PSD using MATLAB's $\tt pwelch$ algorithm window length and measure units

When using pwelch algorithm in MATLAB for a signal with $N$ samples, Is there a good rule of thumb for determining the length $L$ of the sections (second variable ...
0
votes
1answer
24 views

Can't seem to get welch function in scipy work correctly

I'm trying to learn DSP through using Python's scipy package. I have measure some 200Hz signal from a machine. Now I want to inspect the spectral density of the signal. Here's the signal plotted out: ...
2
votes
0answers
35 views

Relating Fourier and power-law descriptions of noise

I'm trying to understand this PDF, which is in English but has Polish authors, so there may be translation issues confusing me. The subject is the frequencies of sentence lengths in novels. Eq. (1), ...
0
votes
1answer
36 views

Prefactors computing PSD of a signal with numpy.fft VS. scipy.signal.welch

The power spectral density St of a signal u may be computed as the product of the FFT of the signal, ...
0
votes
0answers
12 views

Spectral density functions in NMR

A spectral density function (three of them depicted below) is 'power' vs frequency. These functions apparently inform us on the dynamics of spins in a protein somehow but I'm having the hardest time ...
0
votes
1answer
22 views

MATLAB & Power Spectral Density - Error - Getting the same range of values regardless of sound type?

I wrote code [attached at end of question] to take .wav files of child vocalizations and tried to see if there are valid ranges for the formants F1:F2:F3 for the 5 ...
0
votes
0answers
18 views

Computing differences between dynamic power spectrums to identify transient features

I have a few minutes of magnetic field data with a lot of noise and unwanted frequencies, and I'd like to be able to identify any transient waves that may appear in my data. To do this, I'm dividing ...
0
votes
0answers
35 views

Clip wav by PSD

I have the following two things. sequence_1: Sound file in the wave format. PSD_1: Some PSD (Power Spectral Density). I want that the PSD(sequence_1) < PSD_1 for all indices. How I think about ...
0
votes
0answers
11 views

Fluctuations of spectral density estimates

I have seen in a few papers things like : or Without ever seeing the assumptions which are made, and of course no justifications. Does somebody know why it is a valid approximation to make ?
0
votes
0answers
14 views

Test of statistical significance of power-spectrum against red-noise

I have a process which is most probably red-noise and my goal is to know if the peaks or pits are "real" or just due to random fluctuations. I would like to know if there is exists a test of ...
0
votes
1answer
99 views

PSD subtraction

I am interested seeing the difference between two power spectral densities (PSD) as a noise reduction exercise The blue line is the psd of my signal, and the the orange line is the psd of the ...
0
votes
0answers
13 views

power systems database

I'm having a hard time searching for a power systems database. I need some samples of a real wave form from a power source, like a residential power plug or an industrial one.
0
votes
3answers
30 views

Is there a version of Welch's method that doesn't look for power?

Welch's method splits a time signal, $x(n)$ into $M$ periodograms $P_m$, $P_{x_m,M }(k) = \frac{1}{M}|F_k(x_m)|^2$ and averages them to give the Power Spectral Density (PSD), $S_{x}(k) = \frac{1}{K}...
1
vote
2answers
605 views

Quantify the difference between two audio spectrograms

I have two speech signals of the same length. They contain the exact same speech content but are recorded from two different microphones. I want to compare the differences between them. 1) Assuming ...
0
votes
1answer
39 views

Power Spectral Density of Finite Signals

I have a basic confusion which I hope someone can help clear. Say I have two signals: $S_1=\sin(2\pi t) \forall t\in[0,+\infty]$ $S_2=\sin(2\pi t) \forall t\in[2,5]$, $S_2=0$ otherwise Now let's ...
1
vote
1answer
42 views

Normalizing vectors to be the same size to retain PSD data

Context: PSD=periodogram(y) in MATLAB gives the PSD (power spectral density) estimate of a sound-source signal. I want to find the local maximum within 3 different ...
0
votes
1answer
192 views

Do energy of signal and power spectrum (in db/hz) indicate towards same signal property?

If I calculate energy of signal by squaring the magnitude of signal sample and power spectrum using spectrogram (db/hz) what kind of property of signal do they indicate and are they point towards same ...
0
votes
1answer
339 views

How to Estimate a Normalized PSD Using the Burg’s Method in MATLAB?

I'll try to be most sintetic as I can. I'm using an EEG system and I want perform an frequency analisys of the brain waves. I found this interesting article which describe how is possible to discern ...
4
votes
1answer
613 views

How Exactly Does MATLAB Zero Pad Signal?

I am doing some massive number crunching in MATLAB which involves millions of PSD estimations. Each data segment has length 41. So I have been using the multi-taper method with ...
0
votes
1answer
228 views

MATLAB's $\tt cpsd$ and $\tt pwelch$ - different results for cross spectral power density

I am wondering why the following code does not yield the same results for Sxy1 and Sxy2, where ...
2
votes
2answers
75 views

STFT on time varying signal with good time and frequency resolution

I am trying to determine the main frequency of a noisy signal that varies in frequency over time. Ideally I want to detect changes in the frequency as rapidly as possible - say 50Hz update rate, but I ...
0
votes
1answer
1k views

Comparing Welch and FFT power spectrum density

Based on previous answers from the forum, I implemented a function to compute the Power Spectrum of a 1D time series. ...
0
votes
2answers
121 views

Power spectrum density and frequency

if i have some random signals (sampling rate = 10Hz, 0.1s per data) Using python library i transformed it to power spectral density power spectral density forms = f, psd (using mlab.psd) I'm really ...
2
votes
2answers
98 views

Frequency response of a microphone using a sine sweep

I want to determine the frequency response (magnitude, phase) of a microphone. I have another "good" reference microphone whose frequency response I know. I understand that I can use a good speaker ...
0
votes
1answer
26 views

Calculate Frequency/Period from Output of a Maximum Entropy Spectrum MATLAB function

When I plot said function output, "p," it looks like a typical spectrum with an easily identifiable peak at a given ix on the x axis. The help rubric from the function is ...
2
votes
2answers
120 views

Should I filter before calculating power, if I'm looking for relative changes in power?

I am building a "scanner" sort of program, which reads IQ samples from an rtl-sdr stick, and keeps track of the power on certain frequencies, in certain bands. I am interested in detecting activity ...
1
vote
1answer
593 views

Apply band pass filter (BPF) before calculating the power of a signal (PSD)?

From my understanding PSD tries to give a good estimation on the power each frequency attributes to the overall signal power. If I am only interested in a frequency range $(\omega_0 \leq \omega \leq ...
0
votes
4answers
1k views

Coherence vs. Magnitude Squared Coherence

currently I am writing my masther thesis. The theory part is about the turbulent wind field generation, where the coherence (not magnitude squared) is used: $$\text{coh}(f) = \frac{|P_{xy}|}{\sqrt{P_{...
0
votes
1answer
774 views

Calculating SPL from pressure signal - Amplitude vs Power method

I have a pressure signal from a Fluent FFowcs-Williams Hawkings acoustics analysis. I converted this pressure signal into the frequency domain in order to get SPL values, using Matlab. I used the ...
0
votes
0answers
16 views

Estimate peak bandwidth from adjacent STFT bins for notch filter

I am using STFT to extract a strong, frequency varying signal from a continuous set of digital samples. I am able to do this very successfully and am determining the peak bin using PSD and 50% overlap ...
3
votes
1answer
59 views

PSD from autocorrelation in MATLAB

I am trying to simulate a simple stochastic process defined by the equation: \begin{equation} \frac{1}{v}\frac{db}{dt} +\Gamma_0 b= \sqrt{\sigma}R(t), \end{equation} where $R(t)$ is a zero-mean white ...
5
votes
3answers
5k views

1/3 Octave Analysis

Good Morning! I am new in signal processing and I am trying to do a work in noise control of an electronic steering lock device (ESL). My aim is to calculate the loudness (Zwicker Method- ISO 532 B) ...
0
votes
1answer
103 views

How to choose the right segment length for a given signal?

Im working on plotting the power spectral density of a random time series measured. I know the target spectrum.The idea is check the measurement vis-a-vis the target spectrum. However, I get slightly ...
1
vote
3answers
1k views

How do I perform Spectral Analysis (FFT, Windowing, Detrending) on Sonic Anemometer Data?

I am having trouble with all of the forums that I have looked at thus far. I have one day's worth of Sonic Anemometer data. I want to see the spectral analysis of this data. When the anemometer data ...
0
votes
1answer
1k views

Computing the Power Spectrum Density (PSD) on a CSV File in Python

im quit new with signal processing and im trying to calculate the PSD of a signal im sampling. the signal is an output of a DC buck converter this is the code im using and this is the plot im getting ...
0
votes
1answer
102 views

FFT and Power Spectrum Normalization

On many websites, including MathWorks, it was suggested to normalize the fft spectrum (MATLAB or numpy) by dividing it by the total number of samples ($N$). For a sinusoidal signal, for example: $$x(...
1
vote
1answer
316 views

Confusion about PSD and RMS

Let's say I have a noise power-spectral-density (PSD) which is not flat and ranges from 0 to $f_1$ Hz in frequency. As we know, the total area under the PSD is equal to the total average power of the ...
1
vote
1answer
299 views

A few questions about the output value of dsp.SpectrumAnalyzer

I am testing the output values of dsp.SpectrumAnalyzer for a sine wave mixed with white noise. The $\sigma^2$ of the white noise is 1e-4, so I use 0.01*randn(1024,1)...
0
votes
2answers
285 views

Calculate the harmonics in the power supply of $50\textrm{ Hz}$ using FFT

I need to calculate the harmonics in the power supply of $50\textrm{ Hz}$. If suppose I need to calculate up to 20 harmonics. Then my sampling frequency by Nyquist criteria should be : $$f_s \ge 2 ...
1
vote
1answer
3k views

How to calculate the power of a discrete signal? / Clarification on PSD estimates

I want to calculate the channel power $ P_\mathrm{x}$ of a given discrete and complex signal $x[n]$ (with a length of N) in a given bandwidth $B$. I'm aware, that I could probably apply a sharp ...
1
vote
1answer
40 views

Power Spectral Density vs Energy Spectral Density for Discrete Signal

I'm sure this is a silly question but reading a bit about the PSD vs ESD for continuous signals, I'm a bit confused how that applies to discrete signals. Usually people seem to be using the PSD when ...