How to solve such a system of equations?

1 view (last 30 days)
0.225x1+0.658x2+......+0.555xn → max
x1+x2+....+xn = 2
x2+x3+...+xn = 0,5x1

Answers (1)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni on 10 May 2021
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.

Community Treasure Hunt

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

Start Hunting!