Selecting all combinations of points
Mostra commenti meno recenti
Hi there,
I have a set of points and I would like to generate a code that selects all the possible combinations (the order doesn't matter) of them.
For example, if I have a matrix with the coordinates of the points A, B, C I want to write other matrices with the coordinates extracted from the sets {}, {A}, {B}, {C}, {A,B}, {A,C}, {B,C}, {A,B,C}.
Thank you in advance for your help :)
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Simulink 3D Animation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!