If you have the optimization toolbox, you want to use linprog
.
If you don't have the optimization toolbox, use null(A)
or svd(A)
to find non-trivial solutions to A*x = 0
, which allows you to reduce the problem to finding a linear combination of that solution, so that C*x > 0
is satisfied.