Problem Recent Solvers7028
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15825 Solvers
-
Back to basics 22 - Rotate a matrix
942 Solvers
-
Back to basics - mean of corner elements of a matrix
471 Solvers
-
Check that number is whole number
5532 Solvers
-
Flip the vector from right to left
11610 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
yay
ok
Nice problem!!!
yes nice problem
Nice!
Nice
Any idea of optimizing my answer?
function y = equilateral_area(x)
side_1 = (x/2)/tand(30);
y = (x/2)*side_1;
end
good problem