image thumbnail

Integration over log space

version (2.07 KB) by yoash levron
Approximates an integral with samples on a logarithmic scale


Updated 27 Dec 2015

View License

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.
X - vector of samples.
Y - corresponding function values. If Y is a matrix, each of its columns is integrated with respect to X.
int - integration result.
Written by Dr. Yoash Levron, Dec. 2015

Cite As

yoash levron (2021). Integration over log space (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!