consider using isequalwithequalnans (isequaln) against NaN instead of isequal against 'NaN' in test 7.
how to place negative amount of 'wheat' on a chessboard?
the prob is gd but the test suites are unnecessarily jumbled up.
Removed the cases with negative quantities. Everyone should be able to solve the problem now.
Is test 4 incorrect?
@ChrisR, Yes it was incorrect, and has been corrected.
This should also be slimmed down somehow.
Someone can easily beat this lead.
Find common elements in matrix rows
Arrange Vector in descending order
Twins in a Window
Possible Outcomes of American Roulette
Wheat on a chessboard pt 1
Will there be a new leader?
Calculate Alcohol By Volume with Original and Final Gravity
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