Problem 2483. How long until the weekend?
Solution Stats
Problem Comments
Solution Comments
-
4 Comments
Show
1 older comment
Harish Maradana
on 5 Aug 2014
etime working for 2014 only pls help me
Jon
on 5 Aug 2014
You need to find the start of the first weekend after the given date.
rifat
on 7 Aug 2014
why do you have to check for 'ev' as prohibited function? Why dont you use full function name instead? It is not allowing me to use datevec.
Jon
on 7 Aug 2014
I've seen a cheat using it. I've removed the check.
Problem Recent Solvers43
Suggested Problems
-
Swap the first and last columns
15653 Solvers
-
2701 Solvers
-
Maximum running product for a string of numbers
1545 Solvers
-
644 Solvers
-
Remove entire row and column in the matrix containing the input values
229 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!