How to solve such a system of equations?

1 次查看(过去 30 天)
0.225x1+0.658x2+......+0.555xn → max
x1+x2+....+xn = 2
x2+x3+...+xn = 0,5x1

回答(1 个)

Shiva Kalyan Diwakaruni
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 CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by