Problem 42790. Full combinations
Solution Stats
Problem Comments
-
2 Comments
Guillaume
on 30 Mar 2016
It would be better if the test suite did not rely on a particular ordering of the rows. You could use isempty(setxor(myfullfact(...), y_correct, 'rows')) instead of isequal(...)
Peng Liu
on 30 Mar 2016
Thanks for your suggestion. But I prefer an "increasing" ordering of the rows because that could be more useful in some applications. I have made it clear in the problem description that ordering is required.
Solution Comments
Show commentsProblem Recent Solvers24
Suggested Problems
-
Flag largest magnitude swings as they occur
660 Solvers
-
Are all the three given point in the same line?
380 Solvers
-
Determine if input is a perfect number
209 Solvers
-
Factorial: Unlimited Size : java.math
39 Solvers
-
Find out sum and carry of Binary adder
1118 Solvers
More from this Author29
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!