Problem 1040. Create a Cell array of month-end date strings within a provided date range
Solution Stats
Problem Comments
-
1 Comment
J-G van der Toorn
on 20 Nov 2012
You could just use
dates_me = month_ends(date_start, date_end);
to get a variable number of cells in the output. That avoids the user of varargout and the limitation to the number of outputs.
Problem Recent Solvers26
Suggested Problems
-
Find the sum of the elements in the "second" diagonal
1056 Solvers
-
Who knows the last digit of pi?
599 Solvers
-
Getting the absolute index from a matrix
220 Solvers
-
Vector Linear sum: (p1-m1)V1+(p2-m2)V2+...(pK-mk)Vk
50 Solvers
-
328 Solvers
More from this Author255
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!