Add-in Functions, List of Analysis Functions Part Two

若要使用此指令...

[插入] – [函式] - [分類] [Add-In]


IMABS

結果為複數的絕對值。

語法

IMABS("ComplexNumber")

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

範例

=IMABS("5+12j") 傳回 13。

[text/scalc/01/func_imcos.xhp#imcos_head not found].

Returns the cosine of a complex number.

[text/scalc/01/func_imcosh.xhp#imcosh_head not found].

Returns the hyperbolic cosine of a complex number.

[text/scalc/01/func_imcot.xhp#imcot_head not found].

Returns the cotangent of a complex number.

[text/scalc/01/func_imcsc.xhp#imcsc_head not found].

Returns the cosecant of a complex number.

[text/scalc/01/func_imcsch.xhp#imcsch_head not found].

Returns the hyperbolic cosecant of a complex number.

[text/scalc/01/func_imsec.xhp#imsec_head not found].

Returns the secant of a complex number.

[text/scalc/01/func_imsech.xhp#imsech_head not found].

Returns the hyperbolic secant of a complex number.

[text/scalc/01/func_imsin.xhp#imsin_head not found].

Returns the sine of a complex number.

[text/scalc/01/func_imsinh.xhp#imsinh_head not found].

Returns the hyperbolic sine of a complex number.

[text/scalc/01/func_imtan.xhp#imtan_head not found].

Returns the tangent of a complex number.

COMPLEX

結果為從實際係數與虛係數傳回的複數。

語法

COMPLEX(RealNum; INum; Suffix)

RealNum 是指複數的實數係數。

INum 是指複數的虛數係數。

Suffix 是選項的清單,「i」或「j」。

範例

=COMPLEX(3;4;"j") 傳回 3+4j。

CONVERT

將一種定量單位的值轉換為另一定量單位中的對應值。 將定量單位直接以引號中的文字或以參照輸入。如果在儲存格中輸入定量單位,則必須與以下清單保持一致,且區分大小寫:例如,要在儲存格中輸入一個小寫字母 l (表示公升),可在 l 前直接輸入撇號 '。

屬性

單位

線寬

g, sg, lbm, u, ozm, stone, ton, grain, pweight, hweight, shweight, brton

長度

m, mi, Nmi, in, ft, yd, ang, Pica, ell, parsec, lightyear, survey_mi

時間

yr, day, hr, mn, sec, s

氣壓

Pa, atm, at, mmHg, Torr, psi

動力

N, dyn, dy, lbf, pond

能源

J, e, c, cal, eV, ev, HPh, Wh, wh, flb, BTU, btu

功率

W, w, HP, PS

磁場力度

T, ga

溫度

C, F, K, kel, Reau, Rank

容量

l, L, lt, tsp, tbs, oz, cup, pt, us_pt, qt, gal, m3, mi3, Nmi3, in3, ft3, yd3, ang3, Pica3, barrel, bushel, regton, Schooner, Middy, Glass

面積

m2, mi2, Nmi2, in2, ft2, yd2, ang2, Pica2, Morgen, ar, acre, ha

速度

m/s, m/sec, m/h, mph, kn, admkn

資訊

bit, byte


粗體 的度量單位前可添加下列清單中的前綴字元:

前綴

乘數

Y (yotta)

10^24

Z (zetta)

10^21

E (exa)

10^18

P (peta)

10^15

T (tera)

10^12

G (giga)

10^9

M (mega)

10^6

k (kilo)

10^3

h (hecto)

10^2

e (deca)

10^1

d (deci)

10^-1

c (centi)

10^-2

m (milli)

10^-3

u (micro)

10^-6

n (nano)

10^-9

p (pico)

10^-12

f (femto)

10^-15

a (atto)

10^-18

z (zepto)

10^-21

y (yocto)

10^-24


資訊單元「位元」和「位元組」也可以以下列其中一個 IEC 60027-2 / IEEE 1541 字首為字首:

ki kibi 1024

Mi mebi 1048576

Gi gibi 1073741824

Ti tebi 1099511627776

Pi pebi 1125899906842620

Ei exbi 1152921504606850000

Zi zebi 1180591620717410000000

Yi yobi 1208925819614630000000000

評註圖示

The functions whose names end with _ADD or _EXCEL2003 return the same results as the corresponding Microsoft Excel 2003 functions without the suffix. Use the functions without suffix to get results based on international standards.


語法

CONVERT(Number; "FromUnit"; "ToUnit")

Number 是指要轉換的數字。

FromUnit 是指轉換的來源單位。

ToUnit 是要進行轉換的單位。兩個單位的類型必須相同。

範例

=CONVERT(10;"HP";"PS") returns, rounded to two decimal places, 10.14. 10 HP equal 10.14 PS.

=CONVERT(10;"km";"mi") returns, rounded to two decimal places, 6.21. 10 kilometers equal 6.21 miles. The k is the permitted prefix character for the factor 10^3.

FACTDOUBLE

得出一個數的雙階乘。

語法

FACTDOUBLE(number)

傳回 Number !!,此為 Number 的雙階乘,其中 Number 是大於或等於零的整數。

若是偶數,FACTDOUBLE(n) 會得出:

2*4*6*8* ... *n

若是奇數,FACTDOUBLE(n) 會得出:

1*3*5*7* ... *n

FACTDOUBLE(0) 按定義得出 1。

範例

=FACTDOUBLE(5) 傳回 15。

=FACTDOUBLE(6) 傳回 48。

=FACTDOUBLE(0) 傳回 1。

IMAGINARY

結果為複數的虛係數。

語法

IMAGINARY("ComplexNumber")

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

範例

=IMAGINARY("4+3j") 傳回 3。

IMARGUMENT

結果為複數的引數 (phi 角度)。

語法

IMARGUMENT("ComplexNumber")

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

範例

=IMARGUMENT("3+4j") 傳回 0.927295。

IMCONJUGATE

結果為一個複數的共軛補數。

語法

IMCONJUGATE("ComplexNumber")

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

範例

=IMCONJUGATE("1+j") 傳回 1-j。

IMDIV

結果為兩個複數的除法。

語法

IMDIV("Numerator"; "Denominator")

NumeratorDenominator 是以格式「x+yi」或「x+yj」輸入的複數。

範例

=IMDIV("-238+240i";"10+24i") 傳回 5+12i。

IMEXP

結果為 e 與複數的乘冪。常數 e 的近似值為 2.71828182845904。

語法

IMEXP("ComplexNumber")

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

範例

=IMEXP("1+j") 傳回 1.47+2.29j (四捨五入)。

IMLN

結果為複數的自然對數 (以 e 為底數)。常數 e 的近似值為 2.71828182845904。

語法

IMLN("ComplexNumber")

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

範例

=IMLN("1+j") 傳回 0.35+0.79j (四捨五入)。

IMLOG10

結果為複數的常用對數 (以 10 為底數)。

語法

IMLOG10("ComplexNumber")

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

範例

=IMLOG10("1+j") 傳回 0.15+0.34j (四捨五入)。

IMLOG2

結果為複數以二為底的對數。

語法

IMLOG2("ComplexNumber")

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

範例

=IMLOG2("1+j") 傳回 0.50+1.13j (四捨五入)。

IMPOWER

The result is the ComplexNumber raised to the power of Number.

語法

IMPOWER("ComplexNumber"; Number)

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

Number 是指數。

範例

=IMPOWER("2+3i";2) 傳回 -5+12i。

IMPRODUCT

結果為多達 29 個複數的乘積。

語法

IMPRODUCT("ComplexNumber"; "ComplexNumber1"; ...)

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

範例

=IMPRODUCT("3+4j";"5-3j") 傳回 27+11j。

IMREAL

結果為複數的實際係數。

語法

IMREAL("ComplexNumber")

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

範例

=IMREAL("1+3j") 傳回 1。

IMSQRT

結果為複數的平方根。

語法

IMSQRT("ComplexNumber")

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

範例

=IMSQRT("3+4i") 傳回 2+1i。

IMSUB

結果為兩個複數相減。

語法

IMSUB("ComplexNumber1"; "ComplexNumber2")

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

範例

=IMSUB("13+4j";"5+3j") 傳回 8+j。

IMSUM

結果為多達 29 個複數的小計。

語法

IMSUM("ComplexNumber1"; "ComplexNumber2"; ...)

ComplexNumber 是以「x+yi」或「x+yj」格式輸入的複數。

範例

=IMSUM("13+4j";"5+3j") 傳回 18+7j。

OCT2BIN

結果為輸入的八進制數字對應的二進位數字。

語法

OCT2BIN(Number; Places)

Number 是八進位數字。此數字最多可有 10 位數。最重要的位元是正負符號位元,尾隨位元則會傳回數值。負數會以二的補數輸入。

Places 是指要輸出的位數。

範例

=OCT2BIN(3;3) 傳回 011。

OCT2DEC

結果為輸入的八進制數字對應的十進制數字。

語法

OCT2DEC(number)

Number 是八進位數字。此數字最多可有 10 位數。最重要的位元是正負符號位元,尾隨位元則會傳回數值。負數會以二的補數輸入。

範例

=OCT2DEC(144) 傳回 100。

OCT2HEX

結果為輸入的八進制數字對應的十六進制數字。

語法

OCT2HEX(Number; Places)

Number 是八進位數字。此數字最多可有 10 位數。最重要的位元是正負符號位元,尾隨位元則會傳回數值。負數會以二的補數輸入。

Places 是指要輸出的位數。

範例

=OCT2HEX(144;4) 傳回 0064。