How can I interpolate data obtained from two different time intervals?
12 views (last 30 days)
Show older comments
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 Comments
Answers (2)
Cris LaPierre
on 6 Jun 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 Comments
Torsten
on 6 Jun 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 Comments
See Also
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!