Question: Write a MATLAB function called rad2deg that will take an angle in radians as the input argument and return the angle converted to degrees. Write

 Write a MATLAB function called rad2deg that will take an angle

Write a MATLAB function called rad2deg that will take an angle in radians as the input argument and return the angle converted to degrees. 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) Write 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 tor circles with diameters of 1, 2, 3, 4, and 5 cm. Two ways you could format the final array could be [C C C A A A] or [C A C 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!