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.
引用格式
JMP Phillips (2026). BoundNDArray(array,lb,ub) (https://ww2.mathworks.cn/matlabcentral/fileexchange/59517-boundndarray-array-lb-ub), MATLAB Central File Exchange. 检索时间: .
致谢
参考作品: Bound Values of an array
| 版本 | 已发布 | 发行说明 | Action |
|---|---|---|---|
| 1.0.0.0 |
