I am trying to minimise the following function to get as close to 0 as possible (i.e. x*B = c);
min(x) = x*B + c;
where x is a 200 x 1 column vector, B is a 1 x 200 row vector and c is a scalar constant. Is it possible to do this in matlab with fmincon or is another method better suited to the task?