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
Solution Comments
Show comments
Loading...
Problem Recent Solvers82
Suggested Problems
-
Which values occur exactly three times?
5239 Solvers
-
Return the first and last characters of a character array
11819 Solvers
-
Multiples of a Number in a Given Range
939 Solvers
-
Find the square of the sum of the digits of a number
160 Solvers
-
Matlab Basics II - Unit Conversion
177 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!
Mind reading required.