BoundNDArray(array,​lb,ub)

This function bounds an array of any dimension (N-D) between minimum and maximum values.

Al momento, stai seguendo questo contributo

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.

Cita come

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

Riconoscimenti

Ispirato da: Bound Values of an array

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0