function varargout=myDeal(Y)
% myDeal <Deal elements of Y to elements in X>
% Usage:: X=myDeal(Y)
% Does not work!!

% revision history:
% 01/23/18 Mark D. Shattuck <mds> myDeal.m

%% Main

tmp=mat2cell(Y(:),ones(1,numel(Y)));
[varargout{:}]=deal(tmp{:});


