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)
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:10| Question number:20.10
All Answers
total answers (1)
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