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
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!