Summation - Definite.

Version 1.0.0 (1.32 KB) by Miguel
Simple Definite Summation Script You can change the initial and final point to define your precision. You can then change the expression.
32 Downloads
Updated 16 Jan 2019

View License

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 (2024). Summation - Definite. (https://www.mathworks.com/matlabcentral/fileexchange/70013-summation-definite), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear Algebra in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0