Interpolating between two matrices
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Moritz P.
le 13 Fév 2015
Réponse apportée : Star Strider
le 13 Fév 2015
Hi everyone, is there a good way to interpolate between two matrices and insert the interpolated matrix between the other two ?
0 commentaires
Réponse acceptée
Star Strider
le 13 Fév 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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interpolation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!