Hello,
I have some data and i want to run this code:
xi = [85]; yi = interp1(y,x,xi)
but I have this error:
Error using griddedInterpolantThe grid vectors are not strictly monotonic increasing.Error in interp1 (line 183) F = griddedInterpolant(X,V,method);Error in Q4 (line 19)yi = interp1(y,x,xi)
How can I fix it?
Best Answer