The present code is a Matlab function that provides calculation of the bimodality amplitude (BA) parameter of the bimodal distributed data using the fitted probability density function (PDF). The BA is defined as the ratio of the smaller peak amplitude to the antimode amplitude of the PDF. BA is always less than or equal to 1. Larger values indicate more distinct PDF peaks. Clearly, the data under consideration must be bimodal by default in order to calculate the BA. 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:
 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.
Hristo Zhivomirov (2021). Bimodality Amplitude Calculation with Matlab (https://www.mathworks.com/matlabcentral/fileexchange/91255-bimodality-amplitude-calculation-with-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!