Exponential Fit Coefficients PtByPt (Not in Base Package)

Finds the set of exponential coefficients amplitude and damping, which describe the exponential curve that best represents the input data set. Details

initialize, when TRUE, initializes the internal state of the VI.
input data y is a set of input data and must contain at least two points.
input data x is a set of input data and must contain at least two points.
sample length is the length of each set of incoming data. The VI performs computation for each set of data. The default is 100. When you set sample length to zero, the VI calculates a cumulative solution for the input data from the time that you called or initialized the VI. When the sample length setting is greater than zero, the VI calculates the solution for only the newest set of input data.
History of x is the set of x-values and considerations. The size of the array is sample length.
amplitude is the exponential curve amplitude value that best describes the curve.
damping is the exponential curve damping value that best describes the curve.
error returns any error or warning condition from the VI. Refer to Point By Point Error Codes for more information about these conditions.
History of y is the set of y-values and considerations. The size of the array is sample length.

Exponential Fit Coefficients PtByPt Details

Note  The Exponential Fit Coefficients PtByPt VI performs an exponential fit even when the set of y values in input data y is negative. The Exponential Fit Coefficients PtByPt VI performs the fit under the assumption that the amplitude coefficient is also negative and returns a negative amplitude. input data y cannot contain a mixture of positive and negative elements.