I was wondering how I could subtract values from two anonymous functions to yield a new function handle. for example:
f = @sing = @cos
and I want to define
h = f – g, such that h = @(sin – cos)
function handlesnested functionssubfunctions
f = @sing = @cos
Best Answer