Double summation in matlab
조회 수: 17 (최근 30일)
이전 댓글 표시
I would like to do this double summation . where alpha=2; beta=1.5;
I am confuse about the command availbale in online .Pl somebody help me what is way of solving this summation.
댓글 수: 1
Walter Roberson
2020년 3월 5일
Because you used addition here where the original question used multiplication.
채택된 답변
Mohammad Sami
2020년 3월 5일
You can define a function to calculate the expression inside the brackets.
a = @(p,param)param.^p./factorial(p); % (param^n)/factorial(n)
% param is alpha or beta, p = n or m
sum(sum(a(0:10,2)' * a(0:15,1.5)))
댓글 수: 11
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!