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 Solvers46
Suggested Problems
-
Return the 3n+1 sequence for n
7404 Solvers
-
The Hitchhiker's Guide to MATLAB
3156 Solvers
-
448 Solvers
-
Find nearest prime number less than input number
461 Solvers
-
152 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!