Problem Recent Solvers6779
Suggested Problems
-
Select every other element of a vector
36101 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3062 Solvers
-
Compute a dot product of two vectors x and y
1049 Solvers
-
421 Solvers
-
897 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