Problem 401. cos for boss?
Solution Stats
Problem Comments
-
2 Comments
still trying to figure it out... did you use some combination of evalin('caller','cleanCellCode',...); evalin('caller','pass',...); in your evaluation suite? otherwise, care to provide a hint?
a hint: sin() may be appropriate for some input!!
Solution Comments
-
3 Comments
guessed about overloading, but I am curious, how do you get those bits of code not showing up on your test suite? (also, unrelated, it is a strange world where cos(pi/4+pi/4)=1/sqrt(2)...)
or perhaps there is just some issue with the cody machinery today, some of the 'valid' solutions seem rather 'invalid', and the size computation just plain strange...
agreed
-
1 Comment
Actually, I like the problem, but don't understand this particular solution.
Problem Recent Solvers61
Suggested Problems
-
2296 Solvers
-
1771 Solvers
-
Back to basics 23 - Triangular matrix
789 Solvers
-
Matrix indexing with two vectors of indices
674 Solvers
-
Multiples of a Number in a Given Range
496 Solvers
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!