How to make the matrix first column name (character), second column content (number)
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
like this

0 commentaires
Réponse acceptée
KSSV
le 30 Mai 2022
For this the best suitable is table
varname = {'H1e' ; 'H2e' ;'H3e';'H4e';'H5e'} ;
val = [12; 0.58; 5; 7;3.98] ;
T = table(varname,val)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical 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!