intercept
Y-intercept of a linear regression line.
Syntax
Section titled “Syntax”v = intercept(knownys, knownxs)Description
Section titled “Description”Returns the y-intercept of the least-squares regression line through (x, y) points — the b0 coefficient in y = b0 + b1*x.
Example
Section titled “Example”intercept([3 5 7 9], [1 2 3 4]) % 1