Problem of Interpolation in matlab
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
addou abdeljalil
le 9 Juil 2015
Réponse apportée : addou abdeljalil
le 9 Juil 2015
Hi, My problem are like this: i have a 2 colons of 178 values define UM (Unity Monitor) and angles and i wish to compare one other angle extracted from image dicom to this angle in order to find UM corresponding. i tried interpolation but it doesn't work
% code
UM angle
0 0.5000
1.4700 1.2300
4.3700 3.2800
7.2900 5.2800
for example, if i have angle = 4° what is value of UM corresponding ?
Any help will be appreciate
0 commentaires
Réponse acceptée
Azzi Abdelmalek
le 9 Juil 2015
Modifié(e) : Azzi Abdelmalek
le 9 Juil 2015
A=[0 0.5000
1.4700 1.2300
4.3700 3.2800
7.2900 5.2800]
UM=A(:,1)
angle=A(:,2)
UMi=4
anglei=interp1(UM,angle,UMi)
1 commentaire
Plus de réponses (1)
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!