Create a Function using MATLAB
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens

Hello, could you please go over the Problem #1 for me?
3 commentaires
Steven Lord
le 30 Nov 2017
If you show us what you've tried and describe what's not working or what you're unsure about we may be able to offer some guidance.
Myoungchul Hwang
le 30 Nov 2017
Modifié(e) : Walter Roberson
le 30 Nov 2017
Mukul Rao
le 4 Déc 2017
Like Steve mentioned, what part of the script are you confused at? Looks like "calculateAreaPerimeter" looks fine, except that the height and width must be set to the input "length". Also, you retrieve the outputs from your function as follows :
%Area and perimeter when the square has a side of length 5 inches
[area_5,perimeter_5] = calculateAreaPerimeter(5)
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!