to solve and create problems.
Create a Problem
Problem 855. How many monitors are connected ?
How to obtain the numbers of monitors connected to your computer ?
Solve This Now!
30 solvers submitted 38 solutions (1.27 solutions/solver).
on 22 Jul 2012
The idea is to show the usage of get and structure array. I suggest expanding the question to "Return Cody's parameter". From get(0) we see there are multiple items - Format, FormatSpacing, RecursionLimit, Language. These names could be placed in a cell array to allow random calling across four calls. This would invalidate solutions 2 and 5. Everyone will need to expand their functions to handle the string input.
on 20 Jul 2012
You really want a larger test suite, but how would it work?
© 1994-2013 The MathWorks, Inc.
Featured MathWorks.com Topics: