MATLAB Answers

combining three cell array of different sizes

26 views (last 30 days)
I have three cell arrays:
a = {'ball' ; 'cake' ; 'ice'}
b = {'home'}
c = {'car'}
I know if I use d =[a , b, c] will get the error.
how can I combine these arrays. The output should be another array so that it will be easy to write into excel.
Thanks a lot.

Accepted Answer

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!