Some linear algebra

Hi,

I’m trying to use the linear algebra code to solve an equation of the form Ax+u=b where A is an mxn matrix of measurements (with m>n) , x is a vector of n independent variables that I am trying to solve for, u is an m row vector containing the ‘noise’ and b is a vector of size m.

I was looking at the tutorial solveLinear.C which seeks to do something similar by solving y=c0+c1*x - but I can’t figure out whether it makes sense to expand this example or if I need to look at something else

thanks for any help

well, this short example is showing you 5 different ways to obtain your result.
It is difficult to tell you more without knowing precisely the problem to solve.

Rene

Hi Rene,

ok thanks - was able to figure it out