matlab实现数值积分的中点法

收录时间:2020-01-07
资源分类:Matlab 工具:MATLAB 7.9 (R2009b)

matlab实现数值积分的中点法

 

Mid point method for numerical integration

HELP. MIDPOINT method. Some numerical calculations and analysis exercises of Numeric Integration for comparison analysis. f function is given in terms of a symbolic variable x and as an inline function. E.g., f=inline('x^2+2*x-2'). Also, if the function f is trigonometric function, the 4th argument can be entered as 'trigonom' or just 'trig' or 1. X is expected to be in degrees for trigonometric function evaluations. upl and lowl are upper and lower limits. NB: A sequence order of limits is unnecessary to follow, 'if' conditions will take care of lower and upper limits accordingly.

文件下载列表
midpoint_rule.zip (1.49KB)  
附件内容(只显示2中的1个)
midpoint_rule.m  
更多

目前尚无评论

用户反馈   关于我们
Copyright (©) ZHIHUISHI.COM 2013 All Rights Reserved.
京ICP备18060134号-3