Q:

Write a function that will receive data in the form of x and y vectors, and a handle to a plot function and will produce the plot. For example, a call to the function would look like wsfn(x,y,@bar)

0

Write a function that will receive data in the form of x and y vectors, and a handle to a plot function and will produce the plot. For example, a call to the function would look like wsfn(x,y,@bar).

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

wsfn.m

function wsfn(x,y,funhan)

% Plots funhan of x and y

% Format of call: wsfn(x,y,plot function handle)

% Does not return any values

funhan(x,y)

end

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now