Problem 967. Split a string into chunks of specified length
Solution Stats
Problem Comments
-
3 Comments
Additional test cases have been added.
Problem Description says, function should return n*1, however the solutions are 1*n. Kindly, edit the problem description.
Problem say cell is n*1 ,but example is 1*n
Solution Comments
-
1 Comment
little bit hard
-
1 Comment
when the code is rewritten as y = [y {s(S:Ind(E))}];, it includes the spaces. But, when the code is rewritten y =[y cellstr(s(S:Ind(E)))] it leaves the spaces out. Why does it do that?
-
1 Comment
The question asks for an Nx1 cell array but the correct answer is a 1xN cell array. Please fix this lie.. it threw me off badly
-
1 Comment
fun
Problem Recent Solvers1193
Suggested Problems
-
Project Euler: Problem 8, Find largest product in a large string of numbers
815 Solvers
-
Compress strings (not springs)
193 Solvers
-
Count consecutive 0's in between values of 1
301 Solvers
-
Rounding off numbers to n decimals
2936 Solvers
-
calculate the length of matrix
842 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!