C++ Math Library Reference | ![]() ![]() |
Least squares solution in the presence of known covariance
C++ Prototype
mwArray lscov(const mwArray &A, const mwArray &b, const mwArray &V); mwArray lscov(mwArray *dx, const mwArray &A, const mwArray &b, const mwArray &V);
C++ Syntax
#include "matlab.hpp" mwArray A, b, V; // Input argument(s) mwArray dx; // Output argument(s) mwArray x; // Return value x=
lscov(A,b,V); x
=
lscov(&dx,A,b,V);
MATLAB Syntax
x=
lscov(A,b,V) [x,dx] = lscov(A,b,V)
See Also
lscov
Calling Conventions![]() | lower | lsqnonneg | ![]() |