Replace corresponding elements in two different matrices
显示 更早的评论
I have two matrices A and B. The matrix A contains missing data (shown as -9999) which I have replaced with NaN. Matrix B has no missing data. I want to replace the corresponding elements in B with NaN as well so the NaNs for both matrices are located in the same cells. How can I do that?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!