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 Solvers44
Suggested Problems
-
Maximum running product for a string of numbers
1562 Solvers
-
Arrange vector in ascending order
696 Solvers
-
460 Solvers
-
Make a vector of prime numbers
363 Solvers
-
4132 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!