I need your help.
here is a question: function doublethefun should be defined as separate function file and should be so defined like this:
g = doublethefun(f)
should be one function-handle for one function-handle f and
g(x) = 2*f(x)
The function g should represent also the double of f
I'm quite new in this field and don't know how to do it.
My try looks like this:
function f = doublethefun(ff, x)f= 2*ff(x);end