필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

I did not understand the question give me the code for this this will help me loot

조회 수: 1 (최근 30일)
Amit Nath
Amit Nath 2020년 6월 26일
마감: MATLAB Answer Bot 2021년 8월 20일
write a function called tri_area that return the area of triangle with base b and height h, where b and h are the input argument function in that order.

답변 (1개)

Vishal Gaur
Vishal Gaur 2020년 6월 26일
Hi, Amit Nath, yopu can check try this code:
function area=tri_area(b,h)
area = (b*h)/2;
end
If you face any error check this comment

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by