Extrapolate value from set of data
2 views (last 30 days)
Nicolò Dall'Acqua on 5 Dec 2022
I am trying to estimate a series of impact velocities (g) for several drop tests performed on helmets. I have data for a series of tests at specific velocities (m/s), but I want to estimate impacts beyond the maximum velocity I have recorded.
The impact velocities in some cases are identical, since this is required in the test environment, but this is apparently not compatible with interpolation, as the sampling points must be different.
Could you please help me with this?
v = [146 158 159 182 177]; % peak linear acceleration recorded in [g]
x = [5.42 5.42 6.2 6.8 6.8]; % speed for tests in [m/s]
xq = [7.0 7.5 7.78 8 8.5 8.8]; % extrapolate the possible values of impacts at these speeds
extrap_imp = interp1(x,v,xq,'linear','extrap');