tongqingliu

保持学习的态度

2017年2月24日 #

MATLAB二分法函数求根

摘要: function xc = bisect(f,a,b,tol) ind = b-a; while ind > tol xx = (a+b)/2; if f(a)*f(xx) < 0 b = xx; else a = xx; end ind = b - a; end xc = xx; 阅读全文

posted @ 2017-02-24 13:31 tongqingliu 阅读(6207) 评论(0) 推荐(0) 编辑

导航