Check if integer i is a prime number. Returns logical true '1' if it is.
give nth decimal place of pi
Longest run of consecutive numbers
Sum the Digits of a Number
Find nth maximum
Matlab Basics II - Extract last 3 elements of a vector
Calculate the area of a circle
Convert Fahrenheit to Kelvin
Calculate days until Christmas
Check if a number belongs in the fibonacci squence
Check if number is a square 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