Mercurial > hg > ishara
view general/funutils/@function_handle/mrdivide.m @ 38:9d24b616bb06
Added function algebra.
author | samer |
---|---|
date | Tue, 29 Jan 2013 15:59:01 +0000 |
parents | |
children | c388f1c70669 |
line wrap: on
line source
% lt - Bind one argument to a function using Matlab closure % % lt :: % (A{1:N}->B{1:L}) ~'func from N inputs to L outputs', % A{1} ~'first argument' % -> (A{2:N}->B{1:L}) ~'func from remaining arguments to returns'. function g=lt(f,x) g=@(varargin)f(x,varargin{:}); end