solve a non-linear equation for a 2d array values
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Shashank Gupta
on 29 Dec 2020
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 Comments
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!