Percentage Exceedence of a 3D Matrix for a Threshold value

Version 1.0.0.0 (658 Bytes) by Selwyn
Calculates the percentage that a 3D matrix exceeds a given threshold value
932 Downloads
Updated 4 Apr 2007

No License

This function calculates the percentage of time that a given 3D Matrix exceeds some threshold value.

It counts each point along the 1st Dimension that exceeds the threshold and expresses this as a percentage of the length of the 1st Dimension. This is repeated across the 2nd and 3rd Dimensions. The result is a 2D matrix with size identical to the 2nd and 3rd Dimensions that contains percentage figures.

Brief example of where it was used:
We had gridded model data which contained concentrations at a specific depth, of metals in Table Bay Harbour, for a specific time period. We needed to know for what percentage of the time those concentrations exceeded the value prescribed by the Water Quality Guidelines. The exceedence function was written specifically for this purpose, but has been modified to be used in other situations

Cite As

Selwyn (2024). Percentage Exceedence of a 3D Matrix for a Threshold value (https://www.mathworks.com/matlabcentral/fileexchange/14518-percentage-exceedence-of-a-3d-matrix-for-a-threshold-value), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
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!
Version Published Release Notes
1.0.0.0