-
2 Comments
Lorenzo
on 15 Apr 2014
ok, is not really elegant not short, but it's correct. why doesn't it pass the test?
Mattias
on 4 Jan 2015
The problem is that your output is a cell string and not a character array. You can get a char array by adding out_str=char(out_str); in the end, or work with char arrays from the beginning by using in_cell{1} and in_cell{i} instead of in_cell(1) and in_cell(i).
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!