-
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).
Suggested Problems
-
406 Solvers
-
478 Solvers
-
Is this is a Tic Tac Toe X Win?
514 Solvers
-
798 Solvers
-
calculate the length of matrix
1934 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!