annotate general/funutils/@function_handle/zipwith.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents 03694e5c8365
children
rev   line source
samer@13 1 function Y=zipwith(fn,varargin)
samer@13 2 % zipwith - Zip cell arrays with a function
samer@13 3 %
samer@13 4 % zipwith :: (
samer@13 5 % (D1,...,Dn)->R ~ function of n arguments,
samer@13 6 % {[size]->D1}, ..., {[size]->Dn} ~ n cell arrays of appropriate types
samer@13 7 % ) -> {[size]->R} ~ cell array of results
samer@13 8
samer@13 9 Y=cellzip(fn,varargin{:});
samer@13 10
samer@13 11