question asks for code to call a function what is this and please explain in detail for this function so that even a layman can understand
function [area] = tri_area(b,h) tri_area(b,h)= 1/2*(b)*(h); area= tri_area(b,h); end
helpMATLAB
function [area] = tri_area(b,h) tri_area(b,h)= 1/2*(b)*(h); area= tri_area(b,h); end
Best Answer