BoundNDArray(array,​lb,ub)

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

現在この提出コンテンツをフォロー中です。

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://jp.mathworks.com/matlabcentral/fileexchange/59517-boundndarray-array-lb-ub), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: Bound Values of an array

カテゴリ

Help Center および MATLAB AnswersLoops and Conditional Statements についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0