Question: please use MATLAB codes to answer this question. Write a function calcrectarea that will receive the length and width of a rectangle in inches as

please use MATLAB codes to answer this question.
Write a function calcrectarea that will receive the length and width of a rectangle in inches as input arguments, and will return the area of rectangle. For example, the function could be called as shown, in which the result is stored in the variable ra >> ra calcrectarea (3, 4) the 12 For example: Test assert(calcrectarea (3, 4) s 12) assert (calcrectarea (3, 0)0) assert(calcrectarea (0, 4)0) Result Answer: (penalty regime: 0 %) 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
