Addition of string matrices.
Show older comments
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³)'
Accepted Answer
More Answers (1)
Sachin Ganjare
on 24 Sep 2012
0 votes
You can use 'RESHAPE' command:
See documentation for reference.
Hope this helps!!!!
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!