Question: 1) (10 pts) Write a function PlotData.m that will receive two input arguments: first argument is a vector of data; the second argument is a

1) (10 pts) Write a function PlotData.m that will receive two input arguments: first argument is a vector of data; the second argument is a handle to a plot function. The function will plot the data using the type of function specified on the second input argument. For example, a call to the function PlotData (rand (1,5), random data points using the bar chart. @bar) will plot the five 1) (10 pts) Write a function PlotData.m that will receive two input arguments: first argument is a vector of data; the second argument is a handle to a plot function. The function will plot the data using the type of function specified on the second input argument. For example, a call to the function PlotData (rand (1,5), random data points using the bar chart. @bar) will plot the five
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
