You solution should return control to main program only when the current time ends in either a 5 or 0 (e.g. the current seconds are 0 or a multiple of 5)
tricky timing indeed
Back to basics 25 - Valid variable names
Return unique values without sorting
Number of Horns on a unicorn!
sum of non-primes
Back to basics 21 - Matrix replicating
Better bullseye matrix
Convert Roman to Arabic Numerals
Back to basics 9 - Indexed References
Back to basics 24 - Symbolic variables
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office