Question: Write a function MyNameHW 9 Q 3 . m that will receive two input arguments: one is a one - dimensional vector, and the 2
Write a function MyNameHWQm that will receive two input arguments: one is a one
dimensional vector, and the nd is a handle to a Matlab plotting function such as plot
bar etc.
Inside the function, the data st input is plotted using the function provided in the nd
input argument. The name of plot function is shown as the title of the plot.
This function can have zero or output argument. When one output argument is used to
call this function, the average of the input data is computed, shown as part of the figure
title, and returned as the output argument.
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
