필터 지우기
필터 지우기

using syssum for double summation

조회 수: 1 (최근 30일)
FIR
FIR 2012년 1월 7일
I have to perform double summation ,i have attached a link for formula ,please tell how to process

채택된 답변

Walter Roberson
Walter Roberson 2012년 1월 7일
sum serves for simplifying symbolic sums (the discrete analog of integration). It should not be used for simply adding a finite number of terms: if a and b are integers of type DOM_INT, the call _plus(f $ i = a..b) gives the desired result, while sum(f, i = a..b) may return unevaluated. expand may be used to sum such an unevaluated finite sum. See example 3.
As your qir are known (arbitrary) numeric values rather than formula, you are encountering exactly the above case where symsum() should not be used.

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by