MATLAB: Function input

functions

how can i define a function as input to another function?
like
function myfun(fun1,x,y)