Merge columns in a singular table
Show older comments
I have a very large table [7927x2001] I need each row to be merged into one column. All data is numeric
For example lets say its:
T = [1 2 3];
I need
T2 = [123]
Answers (1)
You can't get a numeric result with 2001 digitis of precision, but you can make a string:
T=randi(10,5,3)
T2=num2cell(string(T),1);
T2=strcat(T2{:})
Categories
Find more on Cell Arrays 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!