User`s guide

Agilent EasyEXPERT User’s Guide Vol. 1, Edition 1 5- 9
Built-in Programming Tool
Built-in Functions
delta(A) Returns the difference of the expression A. Calculation is performed as follows.
D
n
= (A
2
-A
1
) when n = 1
D
n
= (A
n+1
-A
n-1
) / 2 when 1 < n < N
D
n
= (A
N
-A
N-1
) when n = N
where,
D
n
difference for the index number n
A
n
A value for the index number n
N number of sweep steps or number of samples
For subordinate sweep, the first index number of each primary sweep is always 1.
If A is a data variable for a secondary sweep source, this function returns the sweep
step value of the secondary sweep.
For frequency data of C-V sweep, the calculation is performed for all frequencies.
Example B=delta(A)
Data type A: vector or numeric, B: vector.
diff(A,B) Returns the differential coefficient of the expression A by B. Calculation is
performed as follows.
A’
n
= (A
2
-A
1
)/(B
2
-B
1
) when n = 1
A’
n
= (A
n+1
-A
n-1
)/(B
n+1
-B
n-1
) when 1 < n < N
A’
n
= (A
N
-A
N-1
)/(B
N
-B
N-1
) when n = N
where,
A’
n
: differential coefficient for the index number n
A
n
: A value for the index number n
B
n
: B value for the index number n
N: number of sweep steps or number of samples
For subordinate sweep, the first index number of each primary sweep is always 1.
Example C=diff(A,B)
Data type A, B: vector or numeric, C: vector.