FUNCTION REFERENCE

lscov

Least squares with optional weights or covariance.

Least squares with optional weights or covariance.

Syntax

X = lscov(A,B); [X,SE,MSE,S] = lscov(A,B,V,algorithm)

Example

lscov([1; 1], [2; 4])   % 3

Differences from MATLAB: Real double inputs; full covariance must be positive definite. The fourth output requires one response column; uncertainty outputs require a nonempty design matrix.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.