Appendix F: Miscellaneous

AWG710&AWG710B Arbitrary Waveform Generator User Manual F-3

Integration

The integ() function integrates numerically based on a trapezoidal formula. The

trapezoidal formula is expressed with the following equation:

Here, n is the number of waveform points an d i is an integer in the range

i = 1, 2, ..., n.

Figure F-2: Equation integration

The integration is actually calculated with the following formula:

However, the imaginary initial value f(x0) always takes a value of 0.
fx()xd
fx
i1
()fx
i
()+
2
-----------------------------------x
i1=
n
=
x
2
---fx
1
()2fx
2
()+2fx
3
()…2fx
n1
()fx
n
()+++ +{}=
f(x i-1)
f(x i)
f(x i+1)
x i
x
x n
x i-1 x ix i+1
fx()x12=fx
1
()2fx
2
()+2fx
3
()…2fx
n1
()fx
n
()+++ +{}d