Check if integer i is a prime number. Returns logical true '1' if it is.
Vector of numbers divisible by 3
Create incrementing array
Array of Ones
If you have matrix A, create matrix B using matrix A as an "element"
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