MATLAB Function Handles and Plotting

Generic Plotting Function

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.

wsfn(x, y, @plotfunc)

For example, a call to the function would look like: wsfn(x, y, @bar)



For more details, please contact me here.