Second test case is faulty
This problem has been edited and is now solvable.
Perhaps the name of the function needs to be changed?
Agreed. The Test Suite is failing because it is (now) calling the built-in MATLAB function roots(p). https://mathworks.com/help/matlab/ref/roots.html
I don't think this problem will pass anytime as the test suite is faulty. In assertion your_function(x) is used and when i test my code Undefined function or variable 'x' occurs.
I agree
286 Solvers
711 Solvers
5468 Solvers
Determine the length of a string of characters
174 Solvers
213 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!