Mercurial > hg > ishara
annotate general/funutils/@function_handle/rdivide.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 |
rev | line source |
---|---|
samer@38 | 1 % rdivide - Bind arguments to a function using Matlab closure |
samer@38 | 2 % |
samer@38 | 3 % rdivide :: |
samer@39 | 4 % (A{1:N}=>B{:}) |
samer@38 | 5 % A{1}, ..., A{M} ~'M<=N input arguments of the correct types' |
samer@39 | 6 % -> (A{M+1:N}=>B{:}). |
samer@38 | 7 |
samer@38 | 8 function g=rdivide(f,args) |
samer@38 | 9 g=@(varargin)f(args{:},varargin{:}); |
samer@38 | 10 end |
samer@38 | 11 |