How can I construct all fairs of points?
    3 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Han
 am 2 Jun. 2020
  
    
    
    
    
    Beantwortet: David Hill
      
      
 am 2 Jun. 2020
            For example, there are points and fairs of the points.
    points = [(1:10); 100*rand(2,10)]';
    fairs = [(1:17); floor(1:0.5:9); ceil(2:0.5:10)]';
But, the fairs are not all fairs of points. It shows only 17 random fairs.
How can I construct the fairs of the all points?
For example I want to construct the following fairs for three points.
1,2
1,3
2,3
2,1
3,1
3,2
2 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
			
	Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


