简体   繁体   中英

nonlinear matrix equation solving in matlab

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM