could you separate your asserts into multiple cells so you can see which test case is failing?
also, how do you define the n-ary behavior since max only takes up to 2 non-empty arguments?
I mean, n-ary operators are also supported, but I use max as a binary op.
Count from 0 to N^M in base N.
220 Solvers
81 Solvers
Return the Nth Output from an Input Command
68 Solvers
Find the largest value in the 3D matrix
1056 Solvers
Combinations without using nchoosek
66 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!