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 Solvers83
Suggested Problems
-
We love vectorized solutions. Problem 1 : remove the row average.
894 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14165 Solvers
-
Flip the vector from right to left
11288 Solvers
-
Rotate a matrix for 180 degree
218 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
361 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.