solve a non-linear equation for a 2d array values

1 次查看(过去 30 天)
Hello,
I would be grateful if you help me out in this issue. I'm a beginner in matlab and having a sigmoid function need to be solved for X:
Y = A+B-(B^(1-D)+C*X*(D-1))^(1/(1-D))
A,B,C, and D are the function cofficients, and Y is provided in 2D array. I need a script that returns X in 2D array.
Thank you

回答(1 个)

Shashank Gupta
Shashank Gupta 2020-12-29
You can generally solve all non linear equation using fsolve function. What you need to do is convert the equation to explicit form and use fsolve to the solve the function.
I hope this gives you a headstart to explore more. There are other function also. Start with fsolve and then explore more.
Cheers.

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by