- I want to interpolate between these two matrices to create another matrix
Interpolation between two surfaces with same grid
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have two different matrices (or surfaces) of the same size which also use the same XY grid. I want to interpolate between these two matrices to create another matrix. Since they already have the same grid I don't how I could apply the 'interp' command to this problem.
I found a related Q&A here: https://de.mathworks.com/matlabcentral/answers/231424-how-to-interpolate-between-two-3d-shapes
But to me it is very important to be able to chose the inter- and extrapolation method.
A simple example:
[x,y] = meshgrid(-4:4,-4:4);
M1 = magic(4)./4;
M2 = fliplr(M1)-4;
Antworten (1)
Siehe auch
Kategorien
Mehr zu Interpolation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!