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
Show commentsProblem Recent Solvers340
Suggested Problems
-
Extract leading non-zero digit
2134 Solvers
-
2924 Solvers
-
Back to basics 23 - Triangular matrix
1001 Solvers
-
347 Solvers
-
Check that number is whole number
4322 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!