MATLAB: How to maximize system of linear equations

maximize system of linear equations

Hello,
Given:
A=[4 3; -1 7; 5 9; 2 4];
x=[x1;x2];
b=[b1; b2; b3; b4];
How can I maximize the linear system of equations: Ax=b?

Best Answer

You can use fminimax, e.g.,
fminimax(@(x) A*x, x0)