I have two functions
function a=f(x,y,z)y=x.^2+5*y+zend
and
b = @(x,y,z)(0.6*x+y.^3-z)
I want to insert the first one into the second (anonymous) one. for example
b = @(x,y,z)(0.6*x+y.^3-z+3*a)
how can I do that ?
insert
function a=f(x,y,z)y=x.^2+5*y+zend
b = @(x,y,z)(0.6*x+y.^3-z)
b = @(x,y,z)(0.6*x+y.^3-z+3*a)
Best Answer