How to interpolate the matrix A ?

1 view (last 30 days)
Abhishek Chakraborty
Abhishek Chakraborty on 16 Sep 2020
Answered: KSSV on 16 Sep 2020
I want to interpolate a matrix "A" containing 3633 rows and 3506 columns with many scattered NaNs to another matrix "B" containing 10900 rows and 10521 columns. How can I do it ?

Accepted Answer

KSSV on 16 Sep 2020
If you want to go ahead with NaN's itself...use intepr2, imresize.
If you want to fill NaN's first, then use fillmissing and then interp2, imresize.
Read about interp2, imresize, fillmissing.

More Answers (0)


Find more on Interpolation in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!