Create a cell array of strings containing the first n natural numbers. Slightly harder than it seems like it should be.
Example
>> y = naturalnumbers(4) y = '1' '2' '3' '4'
850 Solvers
523 Solvers
Renaming a field in a structure array
542 Solvers
4112 Solvers
126 Solvers
Problem Tags