This code was working well using MATLAB2018a:
z_t = interp1(time,x,y,'splines')
In MATLAB2020b, it is showing these error:
Error using interp1>sanitycheckmethod (line 285)
Invalid interpolation method.
Error in interp1>parseinputs (line 393)
method = sanitycheckmethod(last);
Error in interp1 (line 112)
parseinputs(X,V,penultimate,last,nargin,ndataarg,pp);
Best Answer