Add-in Functions, List of Analysis Functions Part One
BESSELI
Calculates the modified Bessel function of the first kind In(x).
語法
BESSELI(X; N)
X 是指計算函式所根據的數值。
N is a positive integer (N >= 0) representing the order of the Bessel function In(x)
Examples
=BESSELI(3.45, 4), returns 0.651416873060081
=BESSELI(3.45, 4.333), returns 0.651416873060081, same as above because the fractional part of N is ignored.
=BESSELI(-1, 3), returns -0.022168424924332
BESSELJ
Calculates the Bessel function of the first kind Jn(x) (cylinder function).
語法
BESSELJ(X; N)
X 是指計算函式所根據的數值。
N is a positive integer (N >= 0) representing the order of the Bessel function Jn(x)
Examples
=BESSELJ(3.45, 4), returns 0.196772639864984
=BESSELJ(3.45, 4.333), returns 0.196772639864984, same as above because the fractional part of N is ignored.
=BESSELJ(-1, 3), returns -0.019563353982668
BESSELK
Calculates the modified Bessel function of the second kind Kn(x).
語法
BESSELK(X; N)
X is the strictly positive value (X > 0) on which the function will be calculated.
N is a positive integer (N >= 0) representing the order of the Bessel function Kn(x)
Examples
=BESSELK(3.45, 4), returns 0.144803466373734
=BESSELK(3.45, 4.333), returns 0.144803466373734, same as above because the fractional part of N is ignored.
=BESSELK(0, 3), returns Err:502 – invalid argument (X=0)
BESSELY
Calculates the Bessel function of the second kind Yn(x).
語法
BESSELY(X; N)
X is the strictly positive value (X > 0) on which the function will be calculated.
N is a positive integer (N >= 0) representing the order of the Bessel function Yn(x)
Examples
=BESSELY(3.45, 4), returns -0.679848116844476
=BESSELY(3.45, 4.333), returns -0.679848116844476, same as above because the fractional part of N is ignored.
=BESSELY(0, 3), returns Err:502 – invalid argument (X=0)
BIN2DEC
結果為輸入的二進位數字的十進制數字。
語法
BIN2DEC(Number)
Number 是二進位數字。此數字最多可有 10 位數 (位元)。最重要的位元是正負符號位元。負數則會以二的補數輸入。
範例
=BIN2DEC(1100100) 傳回 100。
BIN2HEX
結果為輸入的二進制數字對應的十六進制數字。
語法
BIN2HEX(Number; Places)
Number 是二進位數字。此數字最多可有 10 位數 (位元)。最重要的位元是正負符號位元。負數則會以二的補數輸入。
Places 是指要輸出的位數。
範例
=BIN2HEX(1100100;6) 傳回 000064。
BIN2OCT
結果為輸入的二進位數字對應的八進制數字。
語法
BIN2OCT(Number; Places)
Number 是二進位數字。此數字最多可有 10 位數 (位元)。最重要的位元是正負符號位元。負數則會以二的補數輸入。
Places 是指要輸出的位數。
範例
=BIN2OCT(1100100;4) 傳回 0144。
DEC2BIN
結果為所輸入十進制數字介於 -512 與 511 之間的二進制數字。
語法
DEC2BIN(Number; Places)
Number 是小數。若 Number 為負數,則函式會傳回 10 個字元的二進位數字。最重要的位元是正負符號位元,其他 9 個位元則會傳回數值。
Places 是指要輸出的位數。
範例
=DEC2BIN(100;8) 傳回 01100100。
DEC2HEX
結果為輸入的十進制數字對應的十六進制數字。
語法
DEC2HEX(Number; Places)
Number 是小數。若 Number 為負數,則函式會傳回 10 個字元 (40 個位元) 的十六進位數字。最重要的位元是正負符號位元,其他 39 個位元則會傳回數值。
Places 是指要輸出的位數。
範例
=DEC2HEX(100;4) 傳回 0064。
DEC2OCT
結果為輸入的十進制數字對應的八進制數字。
語法
DEC2OCT(number;places)
Number 是小數。若 Number 為負值,則函式會傳回 10 個字元 (30 個位元) 的八進位數字。最重要的位元是正負符號位元,其他 29 個位元則會傳回數值。
Places 是指要輸出的位數。
範例
=DEC2OCT(100;4) 傳回 0144。
DELTA
如果傳送為引數的兩個數字相等,則結果為 TRUE (1) 否則為 FALSE (0)。
語法
DELTA(Number1; Number2)
範例
=DELTA(1;2) 傳回 0。
ERF
傳回高斯誤差積分的值。
語法
ERF(LowerLimit; UpperLimit)
LowerLimit 是指整數的下限。
UpperLimit 是選用項目。此為整數的上限。若缺少此值,會在 0 與下限之間進行計算。
範例
=ERF(0;1) 傳回 0.842701。
ERF.PRECISE
Returns values of the Gaussian error integral between 0 and the given limit.
語法
ERF.PRECISE(LowerLimit)
LowerLimit is the limit of the integral. The calculation takes places between 0 and this limit.
範例
=ERF.PRECISE(1) returns 0.842701.
ERFC
傳回 x 和無窮之間對應高斯誤差積分的互補值。
語法
ERFC(LowerLimit)
LowerLimit 是指整數的下限
範例
=ERFC(1) 傳回 0.157299。
ERFC.PRECISE
Returns complementary values of the Gaussian error integral between x and infinity.
語法
ERFC.PRECISE(LowerLimit)
LowerLimit 是指整數的下限
範例
=ERFC.PRECISE(1) returns 0.157299.
GESTEP
若 Number 大於或等於 Step,則結果為 1。
語法
GESTEP (Number; Step)
範例
=GESTEP(5;1) 傳回 1。
HEX2BIN
結果為輸入的十六進制數字對應的二進制數字。
語法
HEX2BIN(Number; Places)
Number is a hexadecimal number or a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.
Places 是指要輸出的位數。
範例
=HEX2BIN("6a";8) returns 01101010.
HEX2DEC
結果為輸入的十六進制數字對應的十進制數字。
語法
HEX2DEC(number)
Number is a hexadecimal number or a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.
範例
=HEX2DEC("6a") returns 106.
HEX2OCT
結果為輸入的十六進制數字對應的八進制數字。
語法
HEX2OCT(Number; Places)
Number is a hexadecimal number or a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.
Places 是指要輸出的位數。
範例
=HEX2OCT("6a";4) returns 0152.