Question: Name ( please print ) : Score: Part 1 : Fill in the Blanks, Short Answer ( 2 points ) Scripts use variables from the
Name please print:
Score:
Part : Fill in the Blanks, Short Answer
points Scripts use variables from the
functions use
variables from :
point Matlab checks the
or the Matlab search path to
find functions.
points The three types of functions include:
which are
predefined in Matlab:
which are saved as separate mfiles;
and
which are placed at the bottom of a script.
points The function definition line is written as follows:
Write what Matlab will output for the following script commands that call the standalone
function CalcAreaCircum. Enclose arrays in square brackets. Use commas or semicolons to
indicate arrays. If an error results, explain why. You may use Matlab to check your answers.
function area circumference CalcAreaCircumrad
Calculates area and circumference for circle of provided radius
area pi ;
circumference pi rad;
end
points CalcAreaCircum
points CalcAreaCircum
pointsarea circum CalcAreaCircum
points CalcAreaCircum
points:;CalcAreaCircum
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
