Matrix Limits

Provides simple syntax to get range of values in N-dim numeric arrays.
2.5K Downloads
Updated Thu, 01 Sep 2016 15:00:56 +0000

View License

Many MATLAB functions use a range of values and many times its the range of your data such as
>> caxis([lo hi])
Use
>> caxis(limits(x))
instead of
>> caxis([min(x(:)) max(x(:))])
especially for long variable names!

Cite As

Robert Bemis (2024). Matrix Limits (https://www.mathworks.com/matlabcentral/fileexchange/2488-matrix-limits), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Characters and Strings 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
1.1.0.1

Updated license

1.1.0.0

copyright

1.0.0.0