BoundNDArray(array,​lb,ub)

版本 1.0.0.0 (767 字节) 作者: JMP Phillips
This function bounds an array of any dimension (N-D) between minimum and maximum values.
41.0 次下载
更新时间 2016/10/6

查看许可证

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 (2024). BoundNDArray(array,lb,ub) (https://www.mathworks.com/matlabcentral/fileexchange/59517-boundndarray-array-lb-ub), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Loops and Conditional Statements 的更多信息
致谢

参考作品: Bound Values of an array

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0