Addition of string matrices.
Afficher commentaires plus anciens
I want to duplicate a string matrix.
When I use M=[M M] I get
M =
'Ssu (kg COD/m³)' 'Ssu (kg COD/m³)'
'Saa (kg COD/m³)' 'Saa (kg COD/m³)'
'Sfa (kg COD/m³)' 'Sfa (kg COD/m³)'
but I want this
M =
'Ssu (kg COD/m³)'
'Saa (kg COD/m³)'
'Sfa (kg COD/m³)'
'Ssu (kg COD/m³)'
'Saa (kg COD/m³)'
'Sfa (kg COD/m³)'
Réponse acceptée
Plus de réponses (1)
Sachin Ganjare
le 24 Sep 2012
0 votes
You can use 'RESHAPE' command:
See documentation for reference.
Hope this helps!!!!
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!