How can I interpolate data obtained from two different time intervals?

7 Ansichten (letzte 30 Tage)
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?

Antworten (2)

Cris LaPierre
Cris LaPierre am 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.

Torsten
Torsten am 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.

Kategorien

Mehr zu Interpolation finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by