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.
Given a window, how many subsets of a vector sum positive
Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Television Screen Dimensions
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
Wheat on a chessboard pt 1
Will there be a new leader?
Calculate Alcohol By Volume with Original and Final Gravity
Possible Outcomes of American Roulette
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