AP-SCE/Mex/a31.m

12 lines
261 B
Matlab

%function accepts 1 string, 1 double and the number of iterations
% a31("func_name", start, limit)
% function mus be in appropriate form for fixed point iteration
%
%exp.:
% function y=fixed(x)
% y=(x+10)^(1/4);
% end
%
% a31("fixed",2,100)
% ans=1.8556