How to create a matrix B=[bij]=[max(i,j)] belongs to class of rectangular matrices
    3 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    Farooq Aamir
 le 9 Fév 2018
  
    
    
    
    
    Réponse apportée : Christine Tobler
    
 le 12 Fév 2018
            Please answer me
0 commentaires
Réponse acceptée
Plus de réponses (1)
  Christine Tobler
    
 le 12 Fév 2018
        Focusing on the max(i, j) part, you could use
 i = 3;
 j = 4;
 B = max((1:i)', (1:j));
0 commentaires
Voir également
Catégories
				En savoir plus sur Number Theory 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!


