Problem 42790. Full combinations
Solution Stats
Problem Comments
-
2 Comments
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(...)
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.
Problem Recent Solvers21
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
4844 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
1545 Solvers
-
Create a vector whose elements depend on the previous element
489 Solvers
-
Matrix multiplication across rows
238 Solvers
-
Is this is a Tic Tac Toe X Win?
483 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!