E4990A Help
172
• Function(scalar x) means that the function requires a scalar value. If
a complex value is entered, it is automatically converted to a scalar
value; complex(x,y) -> scalar(x)
• Function(complex x) means that the function requires a complex
value. If a scalar value is entered, it is automatically converted to a
complex value; scalar(x) -> complex(x, 0)
• a,b are arguments that are used in the function.
Basic Math Functions
Function Description
abs(complex a) returns the sqrt(a.re
2
+a.im
2
)
acos(scalar a) returns the arc cosine of a in radians
asin(scalar a) returns the arc sine of a in radians
atan(scalar a) returns the arc tangent of a in radians
atan2(complex a) returns the phase of a = (re, im) in radians
atan2(scalar a,
scalar b)
returns the phase of (a, b) in radians
conj(complex a) returns the conjugate of a
cos(complex a) takes a in radians and returns the cosine
cpx(scalar a, scalar
b)
returns a complex value (a+ib) from two scalar
values
exp(complex a) returns the exponential of a
im(complex a)
returns the imaginary part of a as the scalar part
of the result (zeroes the imaginary part)
ln(complex a) returns the natural logarithm of a
log10(complex a) returns the base 10 logarithm of a