
8- 8 Agilent B1500 User’s Guide, Edition 7
Built-in Programming Tool
Built-in Functions
atan(A) Returns the arctangent value of the expression A.
Example
B=atan(A)
Data type A: numeric, B: numeric. Or A: vector, B: vector.
atan2(A,B) Returns the radian value of the angle made by the X-axis and
the line that passes
through the coordinates (0, 0) and (A, B).
Example
C=atan2(A,B)
Data type A: numeric, B: numeric, C: numeric. If A and/or B is vector, C: vector.
avg(A) Returns the average value of data in the express
ion A. For subordinate sweep
measurement, this function returns the average values for each primary sweep.
Example
B=avg(A)
Data type A: vector or numeric, B: vector.
ceil(A) Returns the minimum integer value more than or equal to the expression A.
Example
B=ceil(A)
Data type A: numeric, B: numeric. Or A: vector, B: vector.
cond(A,B,C,D) This function does the following.
• If A < B, returns C.
•If A ≥ B, returns D.
If the A or B
value is invalid, the value for the previous measurement index number
is used for the comp
arison.
Example
E=cond(A,B,C,D)
Data type A, B, C, D: numeric, E: numeric. If A, B, C, and/or D is vector,
E: vector.
cos(A) Returns the cosine value of the expression A.
Example
B=cos(A)
Data type A: numeric, B: numeric. Or A: vector, B: vector.
Commentaires sur ces manuels