intltama.blogg.se

Matlab interp1
Matlab interp1







In MATLAB, given a list of points, sampled from some functional relationship in one dimension, how would we perform piecewise

matlab interp1 matlab interp1

This is really the simplest interpolation of all. Why not go to the opposite extreme? Use a piecewise version of linear interpolation? I like to call it connect-the-dots, after the child's game of that name. You saw in my previous blog that high order polynomials can have some problems.

matlab interp1

  • Do the Interpolation and Plot the Result.








  • Matlab interp1