LSQExponentialCoef('X','Y')

Arguments

'X'

X-coordinates (sampling points) that define the interpolating exponential function

'Y'

Y-values that define the interpolation exponential function

Description

This function calculates the coefficients of an interpolating polynomial a*exp(b*x) for the function given by X-coordinates 'X' and corresponding function values 'Y' using the least squares method. The result of the function is a vector containing the coefficients.