how can I convert matrix to cell
Show older comments
A=[1 2 3;4 5 6;7 8 9]
A =
1 2 3
4 5 6
7 8 9
How can I convert the above matrix into
A={'1' '2' '3';'4' '5' '6';'7' '8' '9'}
=
3×3 cell array
'1' '2' '3'
'4' '5' '6'
'7' '8' '9'
Accepted Answer
More Answers (0)
Categories
Find more on Data Types 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!