I was wondering how I could subtract values from two anonymous functions to yield a new function handle. for example:
f = @sin
g = @cos
and I want to define
h = f - g, such that h = @(sin - cos)
No products are associated with this question.
Direct link to this answer:
Direct link to this comment:
Thank you so much!
Opportunities for recent engineering grads.