is it possible to solve below equation in matlab?
A*X+B*exp(X)=C
A, B are square and constant matrices. C is a constant and column matrix. X is a column matrix which should be found.( exp() acts element by element on X).
is it possible to solve below equation in matlab?
A*X+B*exp(X)=C
A, B are square and constant matrices. C is a constant and column matrix. X is a column matrix which should be found.( exp() acts element by element on X).
If you are looking for a numeric method, you might want to try fsolve
X = fsolve( @(x) A*x + B*exp(x) - C, x0 );
Due to the non-linear nature of the problem you need to provide an initial guess x0
- the quality of which can affect the performance of the solver.