can somebody help me with the coding??

Write a function with header [X] = myFixedPoint (f,g,tol,maxIter), where f and g are function handles and tol and maxIter are strictly positive scalars. The input argument, maxIter, is also an integer. The output arguments, X, should be a scalar satisfying f(X)=g(X) <tol; that is, X is a point that (almost) satisfies f(X)=g(X). To find X, you should use the Bisection method with error metric, |F(m)<tol. The function myFixedPoint should ‘giveup’ after maxIter number of iterations and return X=[] if this occurs

Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!