function varargout=maps2grid(M)
% maps2grid - Compute multidimensional grid domain from multiple maps

E=cellmap(@edges,M);
varargout=cell(nargout,1);
[varargout{:}]=meshgrid(E{:});
