6 lines
93 B
Text
6 lines
93 B
Text
function r = compose(f, g)
|
|
r = @(x) f(g(x));
|
|
endfunction
|
|
|
|
r = compose(@exp, @sin);
|
|
r(pi/3)
|