expreg

Calculates the exponential regression value y that satisfies the equation y = a * exp(b * x) for an inputted argument x.

Arguments

  1. Input matrix m with positive y values
  2. Input value or vector x

Output

Resulting value or vector

Examples

expreg