Merging Cell Array Elements in One Element
古いコメントを表示
Hello,
I have a cell array and its elements are like
1x4 cell array
{'1A'}
{'2B'}
{'3C'}
{'4D'}
I don't want to access them seperately, what I want is merge them like
1x1 cell array
{'1A2B3C4D'}
so that I can convert it to decimal easily. How can I do that? Thank you.
採用された回答
その他の回答 (1 件)
test= [{'1A'}
{'2B'}
{'3C'}
{'4D'}]
{cell2mat(test')}
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!