i know this is a false postion method code would the question mark be func(es) ?
1 次查看(过去 30 天)
显示 更早的评论
function [xr ea iter] = falsepos(func, x1, xu, es, maxit)
% function [xr ea iter] = falsepos(func, x1, xu, es, maxit)
if func(x1)*func(xu)>=0, error('no sign shange'); end
xold = x1;
for iter=1:maxit
fl = func(xl);
fu = func(xu);
xr = ????
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!