samer@13: function Y=zipwith(fn,varargin) samer@13: % zipwith - Zip cell arrays with a function samer@13: % samer@13: % zipwith :: ( samer@13: % (D1,...,Dn)->R ~ function of n arguments, samer@13: % {[size]->D1}, ..., {[size]->Dn} ~ n cell arrays of appropriate types samer@13: % ) -> {[size]->R} ~ cell array of results samer@13: samer@13: Y=cellzip(fn,varargin{:}); samer@13: samer@13: