Cell Extrema

Find the minimum and maximum of 2D cell matrix, which may contain nested cell or numeric arrays.
Updated 3 Apr 2012

View License

These three functions calculate the minimum and maximum of all numbers within a 2-dimensional cell (or numeric) matrix.

The cell matrix may contain other cell matrices, or numeric matrices, or a mix of them. The contained cell matrices may in turn contain others, etc.

The search is performed by nested calls, therefore the same applied to all levels of nesting.

This function can be of use when searching for the minimum and maximum coordinates of all graphics objects in a plot.

Cite As

Ioannis Filippidis (2024). Cell Extrema (https://www.mathworks.com/matlabcentral/fileexchange/35983-cell-extrema), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Matrices and Arrays in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

updated screenshot background to be non-transparent.