Question: Problem 1 - 3 Create Matlab - function named circle which calculates the circumference of a circle and the area of the circle. The input

Problem 1-3
Create Matlab-function named "circle" which calculates the circumference of a circle and the
area of the circle. The input of function is the radius of the circle r. The function outputs two
values, the first (let's call it p) is the perimeter and the second (let's call it A) is the area of the
circle.
Reference documents:
function
Problem 1-4
You have been provided the Matlab function exampleFun(). This function takes a vector as an
input and calculates the arithmetic mean ("average"), maximum and minimum values of the
vector and outputs them in this order.
Call the function using w=[794122731] as the input and store the average in the
variable named Average, maximum to variable named Max_value and the minimum to variable
named Min_value.
Reference:
function
mean
max
min?
Problem 1 - 3 Create Matlab - function named

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 Programming Questions!