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
-
Determine whether a vector is monotonically increasing
23318 Solvers
-
Return unique values without sorting
1015 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
400 Solvers
-
Matlab Basics - Switching Assignments
508 Solvers
-
Sum the squares of numbers from 1 to n
259 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.