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 Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by