How to create a table and change columns to rows and also give names
    4 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
I would like to generate 14*3 matrrix.i.e.rand(14,3)

I want the table to be named like this.How can I do this with the help of MATLAB

0 commentaires
Réponses (1)
  Walter Roberson
      
      
 le 18 Août 2022
        YourMatrix = rand(4,3);
T = array2table(YourMatrix.', 'VariableNames', {'siddu', 'somu', 'ranu', 'bindu'})
Voir également
Catégories
				En savoir plus sur Tables 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!

