can somebody help me with the coding??
Afficher commentaires plus anciens
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
Réponses (0)
Catégories
En savoir plus sur Get Started with MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!