Interpolating between two matrices

6 Ansichten (letzte 30 Tage)
Moritz P.
Moritz P. am 13 Feb. 2015
Beantwortet: Star Strider am 13 Feb. 2015
Hi everyone, is there a good way to interpolate between two matrices and insert the interpolated matrix between the other two ?

Akzeptierte Antwort

Star Strider
Star Strider am 13 Feb. 2015
If you want to do an element-by-element linear interpolation, this might be easiest:
A = [1:3; 4:6; 7:9];
B = A + 20;
C = (A + B)/2;
Here ‘C’ is the interpolated matrix.

Weitere Antworten (0)

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!

Translated by