In JMP there is the Interpolate function built-in which does this.