Construct a permutation matrix from two vectors
    4 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
Hi,
If I have two vectors:
a = [1 ; 2 ; 3];
b = [4 ; 5 ; 6];
How can I constrcut a matrix that has the shape of:

Thanks.
0 commentaires
Réponse acceptée
Plus de réponses (1)
  Bruno Luong
      
      
 le 23 Mar 2023
        
      Modifié(e) : Bruno Luong
      
      
 le 23 Mar 2023
  
      combinations, new stock function in R2023a 
a = [1 ; 2 ; 3];
b = [4 ; 5 ; 6];
combinations(a,b)
0 commentaires
Voir également
Catégories
				En savoir plus sur Delaunay Triangulation dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


