exp1¶
- mdhelper.fit.exponential.exp1(x: ndarray, a: float, b: float) ndarray [source]¶
Convenience function for the
exp1
model from MATLAB.\[y=a\exp{(bx)}\]- Parameters:
- xnumpy.ndarray
One-dimensional array containing \(x\)-values.
- afloat
Coefficient \(a\) for the \(\exp\) term.
- bfloat
Coefficient \(b\) for the \(x\) term in the \(\exp\) term.
- Returns:
- fitnumpy.ndarray
Fitted \(y\)-values.