Cell Extrema

version 1.1.0.0 (2.99 KB) by Ioannis Filippidis
Find the minimum and maximum of 2D cell matrix, which may contain nested cell or numeric arrays.

495 Downloads

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 (2022). 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

Community Treasure Hunt

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

Start Hunting!