Problem 44492. Approximate the cosine function
Solution Stats
Problem Comments
-
2 Comments
Hello, Shaul Salomon. Besides the existing checking for 'forbidden' commands in your Test Suite, which can report false positives (e.g. discussion of "cosine" in comments), you could consider a more complicated regexp statement, or perhaps use the assessFunctionAbsence function described at https://au.mathworks.com/help/coursework/ug/assessfunctionabsence.html . —DIV
A temporarily fix has been applied to the test suite such that allows name of functions in the comments. A permanent solution will be employed soon.
Solution Comments
-
2 Comments
C'mon, fix your test suite. :)
Fixed
-
1 Comment
I should have thought of this.
-
1 Comment
The hard way to go about it, but it worked like a charm!
Problem Recent Solvers337
Suggested Problems
-
14612 Solvers
-
Back to basics 6 - Column Vector
1008 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
1303 Solvers
-
3208 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
1300 Solvers
More from this Author25
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!