Double sumation of mathmatical equation
2 views (last 30 days)
Show older comments
I want to make double sumation coding for the following equation
0 Comments
Answers (1)
Walter Roberson
on 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.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!