Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round each area
x= [2 2 4 4]
area = 8
x=[3 4 5]
area = 6
Mind reading required.
All your base are belong to us
Matrix indexing with two vectors of indices
Getting the indices from a vector
The Answer to Life, the Universe, and Everything
Sum of diagonals elements of a matrix
Where is she?
Remove the Zero
Skip by a multiple
Is It a Palindrome?
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