Problem 1040. Create a Cell array of month-end date strings within a provided date range
47.76% Correct | 52.24% Incorrect
Last Solution submitted on Jan 14, 2023
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.
Solution CommentsShow comments
Problem Recent Solvers27
Back to basics 4 - Search Path
Getting the absolute index from a matrix
Sum the numbers on the main diagonal
More from this Author260
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!