How to use interpolation to obtain the value at tmax?
Show older comments
Hi! I have to calculate thickness values for the right leg at the moment of peak vertical GRF, tmax. But, the sampling frequencies are different for different input variables. So, I will have to use interpolation (interp function) to obtain the value at tmax. How exactly do I need to use this function to obtain the values at tmax? Thanks in advance if anyone could help me!
Answers (1)
SamplePoints = 0:10;%the random time values when you have sampled
DataPoints = [];%all data points
Xq = tmax;
Vq = interp1(X,V,Xq);
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!