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

조회 수: 1 (최근 30일)
AAA
AAA 2020년 12월 22일
답변: Shashank Gupta 2020년 12월 29일
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