one function-handle for one function-handle f with g = doublethefun(f) as separate function file
Show older comments
Hi all,
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
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!