- You will be provided a string (s = 'string1_')
- a starting point (num1 = 6) (always bigger than or equal to zero)
- and n (n = 3) (always bigger than or equal to 1)
You will return following in sequence;
{'string1_6'
'string1_7'
'string1_8'}
You can not use for or while loops
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers45
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5793 Solvers
-
How to find the position of an element in a vector without using the find function
2812 Solvers
-
Generate N equally spaced intervals between -L and L
943 Solvers
-
530 Solvers
-
Find out total non zero element of matrix
285 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Your first test is too strict: it trips when you invoke arrayfun(..., "UniformOutput", false).