計算ARMA(p,q)模型的功率譜密度。
形參說明:
b——雙精度實型一維數組,長度為(q+1),存放ARMA(p,q)模型的滑動平均系數。
a——雙精度實型一維數組,長度為(p+1),存放ARMA(p,q)模型的自回歸系數。
q——整型變量,ARMA(p,q)模型的滑動平均階數。
p——整型變量,ARMA(p,q)模型的自回歸階數。
sigma2——雙精度實型變量,ARMA(p,q)模型白噪聲激勵的方差。
fs——雙精度實型變量,采樣頻率(Hz)。
x——雙精度實型一維數組,長度為len。當sign=0時,存放功率譜密度;當sign=
1時,存放用分貝表示的功率譜密度。
freq——雙精度實型一維數組,長度為len。存放功率譜密度所對應的頻率。
len——整型變量,功率譜密度的數據點數。
sign——整型變量,當sign=0時,計算功率譜密度;當sign=1時,計算用分貝表
示的功率譜密度。
標簽:
ARMA
計算
上傳時間:
2015-04-09
上傳用戶:qiao8960
prolog 找路例子程序:
=== === === === === ===
Part 1-Adding connections
Part 2-Simple Path
example
| ?- path1(a,b,P,T).
will produce the response:
T = 15
P = [a,b] ?
Part 3 - Non-repeating path
As an example, the query:
?- path2(a,h,P,T).
will succeed and may produce the bindings:
P = [a,depot,b,d,e,f,h]
T = 155
Part 4 - Generating a path below a cost threshold
As an example, the query:
?- path_below_cost(a,[a,b,c,d,e,f,g,h],RS,300).
returns:
RS = [a,b,depot,c,d,e,g,f,h] ?
RS = [a,c,depot,b,d,e,g,f,h] ?
no
==================================
標簽:
Part
connections
example
prolog
上傳時間:
2015-04-24
上傳用戶:ljt101007