Create a Function using MATLAB
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시

Hello, could you please go over the Problem #1 for me?
댓글 수: 3
Steven Lord
2017년 11월 30일
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
2017년 11월 30일
편집: Walter Roberson
2017년 11월 30일
Mukul Rao
2017년 12월 4일
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)
답변 (0개)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!