merge function

版本 9.7.0.1 (1.6 KB) 作者: Ryan Verburg
[M] = merge(m1,m2) Takes 2 matrices with elements (including NaN) and combines them
44.0 次下载
更新时间 2020/6/29

查看许可证

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 (2024). merge function (https://www.mathworks.com/matlabcentral/fileexchange/77458-merge-function), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019b
兼容 R2012a 到 R2019b 的版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
9.7.0.1