picking the signal from PSD
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i have a signal and it is corrupted with noise !!! so how can i separate the signal frequency component from the noise using PSD .........i already know the main theme but the thing that is confusing is ...with the plotting of PSD ....how does it works ??i mean the plot(f,pxx)....how the f along the x axis is defined here can anyone help me out of this ......for ur kind information um a newbie in DSP....so pls explain me as easily as possible!
0 commentaires
Réponse acceptée
Wayne King
le 18 Mai 2012
The PSD shows how the power in the signal is distributed as a function of frequency. The x-axis, f, are the frequencies. If you use the sampling frequency as an input to the PSD routine you are using, then f is in cycles/sec.
How you separate noise from signal depends on what your signal and what your noise are like. If your signal is sinusoidal, it shows up as peaks in the PSD estimate.
Plus de réponses (1)
Wayne King
le 18 Mai 2012
If you specify a sampling frequency, then f is in increments of Fs/N where Fs is the sampling frequency and N is the length of the signal
Fs = 1000;
t = 0:0.001:1-0.001;
x = cos(2*pi*100*t)+randn(size(t));
[Pxx,F] = periodogram(x,[],length(x),Fs);
Notice that in this case, Fs = 1000 and N = 1000 also, so we would expect the frequency vector, F, to increment by Fs/N=1
If you enter
F(2)-F(1)
Or more generally
plot(diff(F))
You'll see that is the case.
0 commentaires
Voir également
Catégories
En savoir plus sur Parametric Spectral Estimation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!