BoundNDArray(array,​lb,ub)

Versión 1.0.0.0 (767 Bytes) por JMP Phillips
This function bounds an array of any dimension (N-D) between minimum and maximum values.
41 descargas
Actualizado 6 oct 2016

Ver licencia

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.

Citar como

JMP Phillips (2024). BoundNDArray(array,lb,ub) (https://www.mathworks.com/matlabcentral/fileexchange/59517-boundndarray-array-lb-ub), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2015a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Loops and Conditional Statements en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: Bound Values of an array

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0