10x or 20x in calculation the ADC sample sequence in decibel

Status
Not open for further replies.

yakex

Junior Member level 3
Joined
Nov 29, 2007
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,475
hi,
I have adopt the ADS5560 for sampling, and the sample sequence is expresses as X in matlab. Then I want to calculate the power/energy spectrum in decibel, I have a problem whether to choose 20 or 10 as the multipy coefficient, i.e.,
20*log10(abs(fft(X)) or
10*log10(abs(fft(X))
thanks to all.
--yakex
 

PSD is abs(fft(X))^2 and 10log10(abs(fft(X))^2) gives result in dB which is 20log10(abs(fft(X)))
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…