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