Guessing —
EvenRows = randn(5, 10);
Matrix = NaN(10);
Matrix(2:2:end,:) = EvenRows
MatrixInterp = fillmissing(Matrix,'linear')
figure
surf(Matrix)
grid on
title('Original')
figure
surf(MatrixInterp)
title('Linear Interpolation')
grid on
.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!