merge function

[M] = merge(m1,m2) Takes 2 matrices with elements (including NaN) and combines them

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

Takes 2 2-dimensional matrices with (NaN) elements and combines them, replacing NaN with real values from either matrix. If sizes dont match, expands the matrices from point (1,1) . If the element of m1 is a number and the same element of m2 is also a number, pick from m1 over m2.

Useful for working with matrices with incomplete data that could complete one another.

引用

Ryan Verburg (2026). merge function (https://jp.mathworks.com/matlabcentral/fileexchange/77458-merge-function), MATLAB Central File Exchange. に取得済み.

一般的な情報

MATLAB リリースの互換性

  • R2012a 以降 R2019b 以前と互換性あり

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

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