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 and 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
i 1–
()fx
i
()+
2
-----------------------------------
x∆⋅
i 1=
n
∑
=
∆
x
2
---
fx
1
()2fx
2
()+2fx
3
()…2fx
n 1–
()fx
n
()+++ +∆{}=
f(x
i-1
)
f(x
i
)
f(x
i+1
)
x
i
∆
x
x
n
x
i-1
x
i
x
i+1
fx()x 12⁄= fx
1
()2fx
2
()+ 2fx
3
()…2fx
n 1–
()fx
n
()+++ +{}d
∫