Double sumation of mathmatical equation

2 Ansichten (letzte 30 Tage)
ahmed awadelseed
ahmed awadelseed am 13 Jun. 2021
Beantwortet: Walter Roberson am 13 Jun. 2021
I want to make double sumation coding for the following equation

Antworten (1)

Walter Roberson
Walter Roberson am 13 Jun. 2021
What is the ? It looks like a function or integration or something like that.
I recommend that you reverse the order of summation, as that will allow you to move some of the terms outside the inner summation.
You cannot construct a symbolic formula for that double summation -- not unless you use fixed upper bounds instead of symbolic W and p .
If you do have fixed upper bounds, then you can construct a 2D array of the specific terms, and then sum() the array. You just might be able to use symsum() -- it depends upon whether that ζis a variable or a function . (You can never use symbolic variables to index an array.)
If you do not have the symbolic toolbox: then construct a 2D array of the terms and then sum() the array.

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by