Amplitude Ratio Measurement with Matlab

version (3.27 KB) by Hristo Zhivomirov
Amplitude ratio measurement between two signals via DFT.


Updated Thu, 01 Oct 2020 06:32:59 +0000

View License

The present code is a Matlab function that provides a measurement of the amplitude ratio between two signals with one and the same shape (e.g., both signals are sine-waves). The main purpose is assisting the measurement of a frequency response of a two-port circuit. The amplitude ratio measurement is based on a Discrete Fourier Transform (DFT) of the signals and a Maximum Likelihood Estimation (MLE) of their amplitudes. The method is highly noise resistive.

Two examples are given in order to clarify the usage of the function. The input and output arguments are given in the beginning of the code.

The code is based on the theory described in:

[1] D. Rife, R. Boorstyn. Single-tone parameter estimation from discrete-time observations. IEEE Trans. Inform. Theory, Vol. IT–20, pp. 591-598, Sept. 1974.

Cite As

Hristo Zhivomirov (2022). Amplitude Ratio Measurement with Matlab (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
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!