SUBMREDUCE - submatrix reduce

バージョン 1.0.0.0 (1.71 KB) 作成者: Dan Ellis
Apply a function to all values in submatrices to return a smaller matrix.
ダウンロード: 928
更新 2007/9/2

ライセンスの表示

Y = SUBMREDUCE(X,R,C,F) treats the 2D matrix X as consisting of submatrices of RxC rows and columns, and returns a smaller matrix with one value derived from each of these submatrices.
That value is obtained by applying the function pointed to by F to a matrix where the all the submatrix values have been arranged in columns - i.e. the standard syntax for functions such as MIN() and SUM().

Example: if X = [1 2 3 4; 5 6 7 8] then SUBMREDUCE(X,2,2,@sum) = [14 22].

引用

Dan Ellis (2024). SUBMREDUCE - submatrix reduce (https://www.mathworks.com/matlabcentral/fileexchange/16206-submreduce-submatrix-reduce), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2006b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersComputer Vision with Simulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0