logregcoef

Calculates the logarithmic regression coefficients that satisfy the equation y = b0 + b1 * log(x) for every node (x,y).

Arguments

  1. Input matrix m with positive x values

Output

Vector of coefficients [b0,b1]

Examples

logregcoef