view general/funutils/@function_handle/mrdivide.m @ 39:c388f1c70669

Updated documentation and fixed some bugs in function algebra
author samer
date Tue, 29 Jan 2013 17:02:00 +0000
parents 9d24b616bb06
children 79632e7bcb52
line wrap: on
line source
% mrdivide - Bind one argument to a function using Matlab closure
%
% mrdivide :: 
%    (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