The test suite is just silly/broken.
I agree. I think the test suite needs to be modified.
it looks fine to me (it sets some bounds without giving away the actual value, perhaps I am missing something?)
Improve the test suite..
The top solutions are not even solving the actual problem.
Test suite is very badly made. And the problem is pointless. I hope people who post problems think a little a bit before creating a new problem.
Test Suite needs major improvement. This problem requires way too much research on the part of the user.
Either this should be moved out of the Cody easy section or specific variables should be standardized and provided to the user.
Cannot say enough about how lacking the test suite is.
Most nonzero elements in row
Set the array elements whose value is 13 to 0
Simple equation: Annual salary
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
Have you seen any Spindromes recently?
Inner product of two vectors
cos for boss?
Generate one sample of uniform random numbers between -pi and +pi
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office