How can I interpolate data obtained from two different time intervals?
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have two sets of data obtained at two different time intervals. The deflection data is obtained at 0.15sec interval but the loading data is obtained at the rate of 0.50sec. For that reason I have around 1000 values of deflection and 350 values of load. How can I interpolate load data to the interval of 0.15sec?
0 commentaires
Réponses (2)
Cris LaPierre
le 6 Juin 2022
I would convert the data to timetables and then use the synchronize function to combine the two tables to a common time vector. There are several methods you could use to align the data. Take a look at the linked page to find a method that meets your needs.
0 commentaires
Torsten
le 6 Juin 2022
load_fine = interp1(t_coarse,load_coarse,t_fine)
where t_coarse is the time vector for the load data and t_fine is the time vector for the deflection data.
0 commentaires
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!