Provided with inputs year, month, day e.g. 2019,11,12, calculate the number of days until the next Christmas day, i.e. the next time it will be December 25
Program an exclusive OR operation with logical operators
Compute a dot product of two vectors x and y
Duplicate each element of a vector.
Set the array elements whose value is 13 to 0
Approximation of Pi
Calculate the area of a circle
Convert Fahrenheit to Kelvin
Check if a number belongs in the fibonacci squence
Check if number is a square number
Check if integer is a prime number
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