MuPad - Warning message on summation

Hi, I input the following code in MuPAD
s_i_i:=(K+a-p_i)/(1+sum(sum(sum(K+a(j,i)-p(j,l,n)-g(l), n=1..n(j,l)), l=1..L), j=1..T))
And got the following message:
Warning: The summation variable must not occur on the right side. [sum]
I did some Googling, and that message got me zero results. I can't be the first one to ever get it, right?

댓글 수: 1

Walter Roberson
Walter Roberson 2013년 9월 2일
Try breaking it up into a series of statements. Either that will cure the problem or it will identify which of the summations is the problem.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Get Started with MuPAD에 대해 자세히 알아보기

제품

질문:

2013년 9월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by