You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This function bounds an array of any dimension (N-D) between minimum and maximum values without using for loops.
In optimization for example, bounding arrays can be common bottlenecks so a fast approach (no for loops) is advantageous.
It achieves the same result as http://au.mathworks.com/matlabcentral/fileexchange/43251-bound-values-of-an-array but without for loops and error checking which makes it faster.
Cite As
JMP Phillips (2026). BoundNDArray(array,lb,ub) (https://uk.mathworks.com/matlabcentral/fileexchange/59517-boundndarray-array-lb-ub), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Bound Values of an array
General Information
- Version 1.0.0.0 (767 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
