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