Integration over log space
Approximates integrals of functions which are sampled over a logarithmic space.
The integration is accurate where the function Y is smooth (piece-wise linear) on a logarithmic scale. For such functions the integral may be evaluated accurately, using fewer samples in comparison to linear sampling. A natural application is integration of transfer functions, for which the frequency samples are usually logarithmically spaced.
Inputs:
X - vector of samples.
Y - corresponding function values. If Y is a matrix, each of its columns is integrated with respect to X.
Output:
int - integration result.
Written by Dr. Yoash Levron, Dec. 2015
Citar como
yoash levron (2024). Integration over log space (https://www.mathworks.com/matlabcentral/fileexchange/54650-integration-over-log-space), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.