How to solve such a system of equations?

1 Ansicht (letzte 30 Tage)
Indulis Straume
Indulis Straume am 5 Mai 2021
0.225x1+0.658x2+......+0.555xn → max
x1+x2+....+xn = 2
x2+x3+...+xn = 0,5x1

Antworten (1)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni am 10 Mai 2021
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.

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by