Interpolating two different size of tables
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
rajasekar dhandapani
le 17 Août 2020
Commenté : rajasekar dhandapani
le 18 Août 2020
Table 1: Ts = [0.003,0.0033,0.0004,0.006.....] ; Torque =[10,20,30,40....]
Table 2 Ts1ms=[0.001,0.002,0.003,0.004,0.005......]; Torque=[????]
Expected Result
Table 3:
Ts1ms Torque
0,001 10
0,002 10
0,003 10
0.004 30
0.005 35
....
I have table 1 data. I need to find for Ts1ms data what is the torque
Based on table 2 I have to find the interpolated data from Table 1
Could someone help me with this ?
Thanks in advance
2 commentaires
Réponse acceptée
KSSV
le 17 Août 2020
REad about interp1.
Torque1ms = interp1(Ts,Torque,Ts1ms) ;
6 commentaires
rajasekar dhandapani
le 17 Août 2020
Modifié(e) : rajasekar dhandapani
le 17 Août 2020
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Tables 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!