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
-
Find the longest sequence of 1's in a binary sequence.
6129 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15467 Solvers
-
MATCH THE STRINGS (2 CHAR) very easy
285 Solvers
-
652 Solvers
-
Sum the squares of numbers from 1 to n
239 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!