image thumbnail

Tools for Data Analysis in Optics, Acoustics, Signal Processing

version (5.81 KB) by Valerio Lucarini
A simple software package for sophisticated data analysis for optics, acoustics, signal processing


Updated 27 Jul 2005

View License

We present some basic programs written for the MATLAB environment for the analysis of optical and acoustic data and for signal processing. These programs exploit novel concept derived from a theoretical physics approach. These programs can be easily customized by the expert user, but they nevertheless constitute useful data analysis tools also in the present form. The first two programs deal with the computation of K-K relations. The third program can be used to obtain self-consistent (in terms of Kramers-Kronig relations) estimates of the real and the imaginary part of the susceptibility when first guess estimates are used as input. It is particularly suitable when the first guess estimates of the real and imaginary part of the susceptibility have been independently obtained, e.g. by direct measurements. The fourth and the fifth program deal with the computation of Singly Subtractive Kramers-Kronig relations. In order to take advantage of this set of programs, and considering that the first two programs are called by the last three programs, it is strongly advised to save them in the same directory with the following names:

Program 1: kkimbook2.m;
Program 2: kkrebook2.m;
Program 3: selfconsbook2.m;
Program 4: sskkimbook2.m;
Program 5: sskkrebook2.m.

These programs require that the spectral data given as input have constant frequency spacing. Simple interpolation schemes can in most cases efficiently rearrange diversely spaced data to this form. These programs have been tested on the MATLAB versions 6.x and 7.0 both for Linux/Unix and Microsoft Windows environments.

This software is distributed under the GNU licence agreement by Valerio Lucarini (email:, University of Camerino, Department of Mathematics and Computer Science, Camerino, Italy

These programs constitute the accompanying software to the following book, which contains the theory of the Kramers-Kronig relations and presents some relevant applications in nanostructures and polymers.

Kramers-Kronig Relations in Optical Materials Research
by Lucarini, V., Saarinen, J.J., Peiponen, K.-E., Vartiainen, E.M.
Springer, Heidleber, 2005 162 p. 37 illus., ISBN: 3-540-23673-2


This is the first one-volume work to provide a thorough and comprehensive description of the physical background, rigorous theory and applications of Kramers-Kronig relations in the fields of linear and nonlinear optical spectroscopy. Currently, Kramers-Kronig relations have become basic tools in the investigation of the optical properties of materials. A brief presentation of the related data-retrieval technique, the maximum entropy method, is also given. The contents and style potentially make this a standard text for physicists, chemists and engineers interested in optical-materials research and development.

Cite As

Valerio Lucarini (2022). Tools for Data Analysis in Optics, Acoustics, Signal Processing (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: z-porter/kktranz

Community Treasure Hunt

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

Start Hunting!