Question: Please provide full code. Problem 3.15 (30 pts) Write a MATLAB function that will take a one-dimensional array containing five numbers as an input argument

Please provide full code.

Please provide full code. Problem 3.15 (30 pts) Write a MATLAB function

Problem 3.15 (30 pts) Write a MATLAB function that will take a one-dimensional array containing five numbers as an input argument and return the average of the five numbers. (you can call the function whatever you want Problem 3.16 (40 pts) Write a MATLAB function named circles that will calculate the circumference and area of five circles. The function should have five input arguments (diameter) and returns a two dimensional array containing the circumference and area of the five circles. Calculate the circumference and area for circles with diameters of 1, 2, 3, 4, and 5 cm and report the results to show that it works. CA CCC Pro-tip: Two ways you could format the final array could be or CA LA A A. C A

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!