MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

# Solution 223765

Submitted on 26 Mar 2013 by Muthu Annamalai

Correct

108Size
`This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.`

### Test Suite

Test
Code Input and Output
1
Pass

```%%
x = {'foo','bar',5,10, {'carrr','starr',{'rita','fereira'}}};
q = ['{''foo'', ''bar'', 5, 10, {''carrr'', ''starr'', '...
'{''rita'', ''fereira''}}};']
assert(isequal(cell2str(x),q))
clear x, q
x = {1,2,3,4};
q = '{1, 2, 3, 4};';
assert(isequal(cell2str(x),q))
clear x,q
x = {{'MLB',{'Red Sox','Yankees'},{'Rangers','Cardinals'}},{'NFL',{'Cowboys','Giants'},{'Patriots','49ers','Ravens'}}};
q = '{{''MLB'', {''Red Sox'', ''Yankees''}, {''Rangers'', ''Cardinals''}}, {''NFL'', {''Cowboys'', ''Giants''}, {''Patriots'', ''49ers'', ''Ravens''}}};';
assert(isequal(cell2str(x),q))
```
```q =
{'foo', 'bar', 5, 10, {'carrr', 'starr', {'rita', 'fereira'}}};
q =
{'foo', 'bar', 5, 10, {'carrr', 'starr', {'rita', 'fereira'}}};
q =
{1, 2, 3, 4};
```