linfit

Calculates the linear regression equation y = b0 + b1 * x that fits inputted nodes (x,y).

Arguments

  1. Input matrix m

Output

Expression b0 + b1 * x

Examples

linfit