matlab - Power spectral density of FFT -


I have a piece of code that gets FFT of a part of the signal and I try to get the PSD now I am here. ,

  FS = 44100; Cj = sqrt (-1); % T = .6; DT = 1 / FS; Left = test (:, 1); Correct = test (:, 2); Time = 45; Interval = .636; W_range = Time * FS: (Time + Interval) * FS-1; I = left (w_range); Q = right (w_range); N = interval * fs; F = -Fs / 2: FS / N: FS / 2-FS / N; S = I + cj. * Q; % Signal ss = greasy (s, 201); Sf = (fftshift (fft (ss (1: n)))); % FFT (1) plot of signal data (f, (* 20 * log10 ((SBF)) / max (abs (sf)))))  

To get the PSD, I need to increase the sf in just 2 power, or do I need to do something?

20 * log10 (abs (sf)) or 10 * log10 (abs ( Sf) ^ 2) .

However, this generally means that the calculation of PSD estimates made in this way is a huge deviation. There are several numbers in it which can be used to improve the guesswork. Applying sections of data in a simple one, executing FFT, resulting in PSDs being average (i.e., average of square-magnitudes).


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -