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.
917 Solvers
Project Euler: Problem 9, Pythagorean numbers
295 Solvers
329 Solvers
Remove NaNs and numbers adjacent to NaNs
64 Solvers
253 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!