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.
How to find the position of an element in a vector without using the find function
Reverse the vector
Back to basics 9 - Indexed References
Next Higher Power of B
Matlab Basics - Logical Tests I
Is It a Palindrome?
Remove the Zero
Product of Array
Remove and Sort
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