Double summation in matlab

38 visualizzazioni (ultimi 30 giorni)
AVM
AVM il 5 Mar 2020
Commentato: Atrolita afra il 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 Commento
Walter Roberson
Walter Roberson il 5 Mar 2020
Because you used addition here where the original question used multiplication.

Accedi per commentare.

Risposta accettata

Mohammad Sami
Mohammad Sami il 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 Commenti

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by