linterp(x-vector,y-vector,number) - Linear interpolation function

For this example, two vectors represent the x and y coordinates of a 2D plot. Calculate the y coordinate corresponding to the x value number. The x and y vectors must be of the same size.


Return to Functions page

ScrewTurn Wiki version 2.0.37. Some of the icons created by FamFamFam.