
Matlab interp1 code#
However, the code has been implemented around 2010]. My Python version is 3.4.1, MATLAB version is R2013a.

Could you tell me if the code, I implemented is correct? I found that the scipy function interp1d should be what I'm after, but I'm not sure. The code uses the function interp1 in MATLAB.


I'm converting a MATLAB code into a Python code.
