Double summation in matlab

40 views (last 30 days)
AVM
AVM on 5 Mar 2020
Commented: Atrolita afra on 29 Mar 2020
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 Comment
Walter Roberson
Walter Roberson on 5 Mar 2020
Because you used addition here where the original question used multiplication.

Sign in to comment.

Accepted Answer

Mohammad Sami
Mohammad Sami on 5 Mar 2020
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 Comments

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!