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.
Make the vector [1 2 3 4 5 6 7 8 9 10]
36327 Solvers
4631 Solvers
Solve the set of simultaneous linear equations
279 Solvers
Create a random logical vector of N elements of which M are true.
85 Solvers
Generate a random matrix A of (1,-1)
214 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!