merge function
Versión 9.7.0.1 (1,63 KB) por
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.
Citar como
Ryan Verburg (2025). merge function (https://la.mathworks.com/matlabcentral/fileexchange/77458-merge-function), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2019b
Compatible con cualquier versión desde R2012a hasta R2019b
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 9.7.0.1 |
