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
@Shaul, people can use 1/sec(x) (which, btw, is also the leading solution) as a solution and you might want to change the test suites accordingly.
405 Solvers
580 Solvers
Reverse the elements of an array
688 Solvers
376 Solvers
301 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!