Problem 2944. Areas
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
Solution Stats
Problem Comments
-
1 Comment
Gergely Patay
on 5 Feb 2015
Mind reading required.
Solution Comments
Show commentsProblem Recent Solvers77
Suggested Problems
-
Swap the first and last columns
19831 Solvers
-
How to find the position of an element in a vector without using the find function
2706 Solvers
-
All your base are belong to us
532 Solvers
-
Getting the row and column location from a matrix
284 Solvers
-
Multiples of a Number in a Given Range
606 Solvers
More from this Author8
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!