O'Reilly logo

MATLAB Mathematical Analysis by César Pérez López

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 6

image

Numerical Series and Power Series

Numerical Series of Non-negative Terms

MATLAB enables you to work with numerical series of non-negative terms and with alternating series. In addition, the commands relating to limits allow you to work with different convergence tests for numerical series.

In the case where the sum is convergent, there are various functions available to help you to find the sum. We have the following:

symsum(S,v,a,b)

Sums the series S as the variable v varies from a to b.

syms x;

symsum(x^k/sym('k!'), k, 0, inf)

symsum(S,v)

Sums the series S as the variable v varies from 0 to v-1.

>> symsum(k^2,k)

ans =

k^3/3 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required