merge function
Version 9.7.0.1 (1,63 KB) von
Ryan Verburg
[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.
Zitieren als
Ryan Verburg (2026). merge function (https://de.mathworks.com/matlabcentral/fileexchange/77458-merge-function), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2019b
Kompatibel mit R2012a bis R2019b
Plattform-Kompatibilität
Windows macOS LinuxTags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 9.7.0.1 |
