Calculate the amount of nanoseconds passed in the current day of a certain date string.
The test suite has been expanded and fixed.
The date string identifies the date and time to the nearest second, so we know that the last 9 digits of the correct number of nanoseconds have to be zeros. Where are these odd, fractional numbers coming from?
Nonuniform quantizer as a piecewise constant function
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Rotate a Matrix
Magic is simple (for beginners)
calculate the day of the year from a date string.
Persistence will help you solve almost any problem.
Translate German decimals to English decimals
What's my favourite food?
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