Permutations of ordered set where only one object changes its position.
1 次查看(过去 30 天)
显示 更早的评论
Is there a quick way to get all possible permutations where we put one object at all position, while keeping the order of all other objects?
As an examle, consider {A,B,C}.
- Change position of A: ABC, BAC, BCA
- Change position of B: ACB [BAC, ABC both done in 1.]
- Change position of C: CAB [ACB, ABC, done in 1. and 2.]
0 个评论
采纳的回答
David Goodmanson
2021-4-15
Hi Michael,
no there is not. CBA is a permutation, and it cannot be made to fit the pattern.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Point Cloud Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!