Create cell array of numbers
Show older comments
Hi,
how can i create a function that creates a cell array of number array 1:n, so the result is a cell array of string values.
so for example if i call that function s=f(1:10), it give me:
s = {'1','2','3','4','5','6','7','8','9','10'}
thanks so much!
Accepted Answer
More Answers (0)
Categories
Find more on Data Types in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!