Addition of string matrices.
古いコメントを表示
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³)'
採用された回答
その他の回答 (1 件)
Sachin Ganjare
2012 年 9 月 24 日
0 投票
You can use 'RESHAPE' command:
See documentation for reference.
Hope this helps!!!!
カテゴリ
ヘルプ センター および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!