Chip123 科技應用創新平台

標題: 如何用FFT來計算SNR及THD [打印本頁]

作者: TJ球    時間: 2008-5-23 04:41 PM
標題: 如何用FFT來計算SNR及THD
我用FFT軟體算出x=[1,2,3,4,5,4,3,2]8個序列點的值,. s* {  d/ K4 A8 i+ F& p' Q  Y

# e; I6 h8 e7 J' @. kX[0] = 24+(0)j
+ |+ G0 n/ Q( s0 k2 U% _1 M* wX[1] = -6.82842712475+(-1.33226762955E-15)j: r: b: Q0 _  {
X[2] = 3.09539720245E-17+(0)j
/ O: A, F; v$ `% Z  w1 a6 |6 JX[3] = -1.17157287525+(2.88657986403E-15)j3 k! o! f  ?9 X. o: H! B1 ]* l9 M6 ^
X[4] = 0+(-4.89842541529E-16)j
) M! ~2 X$ r+ k; d0 k9 U7 `9 H, `1 YX[5] = -1.17157287525+(-2.44249065418E-15)j  l. e) S4 u+ b/ a$ z7 Y
X[6] = -9.86282453277E-15+(-6.66133814775E-16)j
$ |2 z3 f; W3 u$ AX[7] = -6.82842712475+(-2.22044604925E-15)j
- f0 x9 I5 b/ }. w8 w. }2 e3 F4 j% Z9 d
) ^) z' U0 b( u+ ?6 ?2 A$ ^  t$ a& E我該如何藉由這些值算出SNR及THD呢?




歡迎光臨 Chip123 科技應用創新平台 (http://chip123.com/) Powered by Discuz! X3.2