root? - MATLAB Cody - MATLAB Central

Problem 549. root?

Difficulty:Rate
  • Given a function 'foo', and a position 'there', find the root near 'there'.
  • For example: If foo=@sin, and there=3.1, then rootof(foo, there) >> 3.1416

Solution Stats

46.48% Correct | 53.52% Incorrect
Last Solution submitted on May 08, 2025

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
3
6

Problem Recent Solvers105

Suggested Problems

More from this Author100

Problem Tags

Community Treasure Hunt

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

Start Hunting!