How to solve such a system of equations?

1 回表示 (過去 30 日間)
Indulis Straume
Indulis Straume 2021 年 5 月 5 日
回答済み: Shiva Kalyan Diwakaruni 2021 年 5 月 10 日
0.225x1+0.658x2+......+0.555xn → max
x1+x2+....+xn = 2
x2+x3+...+xn = 0,5x1

回答 (1 件)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni 2021 年 5 月 10 日
Hi,
You can try using symsum(f,k,a,b) which returns the sum of the series f with respect to the summation index k from the lower bound a to the upper bound b. Refer to the below link
Hope it helps.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by