writting equation with summation

2 ビュー (過去 30 日間)
Hassan Bosha
Hassan Bosha 2020 年 4 月 21 日
回答済み: Deepak Gupta 2020 年 4 月 21 日
How can i write such equation on matlab , although i have more 4 equations simliar to it with unknown parameters, so that i can solve those equations to get the unknowns
  1 件のコメント
darova
darova 2020 年 4 月 21 日
Can you explain more? Do you have known constants values? Do you have any attempts (with fsolve maybe)?

サインインしてコメントする。

回答 (1 件)

Deepak Gupta
Deepak Gupta 2020 年 4 月 21 日
Hello Hassan,
You can use solve function of matlab. Here is an example:
syms u v
eqns = [2*u + v == 0, u - v == 1];
S = solve(eqns,[u v])
Thanks,
Deepak

カテゴリ

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