I would like to write a function to solve two nonlinear equations in order to find K and a and use the solved K and a in other function later, that is, K=a*P(K); 1=a*Q(K). P(K)and Q(K) are two complicated expressions with respect to K. How to format this?
MATLAB: How to format the nonlinear equations to find solutions
function nonlinear equations
Best Answer