expregcoef

Calculates the exponential regression coefficients that satisfy the equation y = a * exp(b * x) for every node (x,y).

Arguments

  1. Input matrix m with positive y values

Output

Vector of coefficients [a,b]

Examples

expregcoef