Find the area of a triangle - MATLAB Cody - MATLAB Central

Problem 42742. Find the area of a triangle

Difficulty:Rate

Given a triangle with a base b and height h, return the triangle area.

Solution Stats

91.99% Correct | 8.01% Incorrect
Last Solution submitted on Jun 03, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
1
2

Problem Recent Solvers476

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!