You are given a String that is equivalent to a cell array of scalars or vectors. Transform this String to its equivalent Cell array. We assume the input string contains only scalars or vectors of double.
for example, this input String
'{1,2,[3 6],4}'
Should produce this output:
1×4 cell array
{[1]} {[2]} {1×2 double} {[4]}
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers12
Suggested Problems
-
given 3 sides, find area of this triangle
820 Solvers
-
Compute a dot product of two vectors x and y
1050 Solvers
-
Vectorize the digits of an Integer
338 Solvers
-
Set the array elements whose value is 13 to 0
1438 Solvers
-
Convert this color - RGB Vector to Hex String
139 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Test suite has been updated to include double and triple digits numbers, to make it more challenging.