Home > Common Problem > Matlab series summation method

Matlab series summation method

angryTom
Release: 2020-03-07 16:44:04
Original
21436 people have browsed it

在学习微积分(高等数学)中级数时,许多童鞋不知道如何求级数的和,下面就教大家用matlab求解级数和。

Matlab series summation method

matlab级数求和的方法

1、最常见的级数形式,如下所示。

Matlab series summation method

S :级数的和

i: 自变量,值域为[a,b] 

f(i):为关于自变量i的函数

推荐:编程入门

2、查阅matlab帮助可以知道,可以用symsum函数求解级数,函数有以下4种使用方式:

Matlab series summation method

3、作为示例,我们采用第四种方式求解以下级数:

clc;clear;
% symsum(expr,v,a,b)
syms v
syms f
a = 1;
b = 100;
f = v^2;
S = symsum(f,v,a,b)
Copy after login

Matlab series summation method

4、点击图中红色箭头所指的运行按钮,计算结果为:

S = 338350
Copy after login

Matlab series summation method

更多相关教程,请关注PHP中文网

The above is the detailed content of Matlab series summation method. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template