You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This script shows a simple Summation of ( 1/x ) between 1 and 2.
It is, in fact, a definite integral of 1/x analyzed between 1 and 2, by the method of exhaustion.
You can use this for summations.
Just change the ni and nf variables that are the initial and final points of n.
And then change the expression to be summed.
Compare the result of the original code with the numeric result of ln(2).
Cite As
Miguel (2026). Summation - Definite. (https://au.mathworks.com/matlabcentral/fileexchange/70013-summation-definite), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (1.32 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
