What is the problem in this following program? Why my function isn't working?
Afficher commentaires plus anciens
function [area] = tri_area(b,h)
tri_area(b,h)=(0.5)*(b)*(h)
area = tri_area(b,h)
end

Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!