Bimodality Ratio Calculation with Matlab

Calculation of the bimodality ratio parameter using the PDF of the data.
31 Downloads
Updated 29 Apr 2021

View License

The present code is a Matlab function that provides calculation of the bimodality ratio (BR) parameter of the bimodal distributed data using the fitted probability density function (PDF). The BR is defined as the ratio of the amplitude of the right to the left peak of the PDF. Clearly, the data under consideration must be bimodal by default in order to calculate the BR. The bimodality of the data can be checked using the bimodalitycoeff function at https://www.mathworks.com/matlabcentral/fileexchange/84933-bimodality-coefficient-calculation-with-matlab.

A few examples are given in order to clarify the usage of the function. For convenience, the input and output arguments are given in the beginning of the function.

The code is based on the theory described in:

[1] C. Zhang, B. Mapes, B. Soden. Bimodality in tropical water vapour. Quarterly Journal of the Royal Meteorological Society, Vol. 129, Issue 594, pp. 2847-2866, 2003.

Cite As

Hristo Zhivomirov (2024). Bimodality Ratio Calculation with Matlab (https://www.mathworks.com/matlabcentral/fileexchange/91250-bimodality-ratio-calculation-with-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0