I know four common methods for numerical integration of signals such as Midpoint, Trapezoid, Simpson's rule, and FFT integration property. Are there other methods?
1 Answer
$\begingroup$
$\endgroup$
1
Forward Euler method:
$y(n) = y(n-1) + K*[t(n) - t(n-1)]*u(n-1)$
Backward Euler method:
$y(n) = y(n-1) + K*[t(n) - t(n-1)]*u(n)$
Trapezoidal method:
$y(n) = y(n-1) + K*[t(n)-t(n-1)]*[u(n)+u(n-1)]/2$
Source: https://www.mathworks.com/help/simulink/slref/discretetimeintegrator.html
double
precision given enough sampling rate. What exactly are you interested in? For example, trapezoidal is used in SPICE engines and it's only limited to the*tol
parameters -- which can be used with arbitrary precision, if you have enough coffee. $\endgroup$