linregrcoef

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

Arguments

  1. Input matrix m

Output

Vector of coefficients [b0,b1]

Examples

linregrcoef