2d extrapolation to replace NaN in corners
26 ビュー (過去 30 日間)
古いコメントを表示
Hi !
I'm trying to do 2d extrapolation for my table in matlab.
I have a matrix with 101x101 values and corresponding axes with 1x101 and 101x1 values.
Now my problem is the following:
The corners of the matrix are containing NaN values which I want to replace with extrapolated values of the given data.

0 件のコメント
採用された回答
その他の回答 (1 件)
Star Strider
2022 年 8 月 26 日
Try something like this —
M = NaN(5);
M([3 (7:9) 11:15 (7:9)+10 23]) = randi(9, 1, 13)
Mfm = fillmissing(M, 'nearest')
.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!