How to fit three independent variable as function of one independent variable?

2 ビュー (過去 30 日間)
Suryanshu Singh
Suryanshu Singh 2021 年 2 月 16 日
回答済み: Mahesh Taparia 2021 年 2 月 22 日
suppose i want to find the value of i , j , k
k = a^i +b^j +c^k
I have values of k , a, b, c

回答 (1 件)

Mahesh Taparia
Mahesh Taparia 2021 年 2 月 22 日
Hi
You are having 1 equation with 3 unknowns. It will have many solution. You can use vpasolve function to solve this, it will give one of the possible solution. For more information, refer this documentation of vpasolve. For unique solution, you can provide 3 equations as well. Consider an example below:
syms i j
e1 = 5^i+7^j==800;
e2 = 6^i+4^j==900;
vpasolve([e1,e2],[i,j]) %gives value of i and j
Hope it will help!

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by