Is there anything like deal() for normal MATLAB arrays? [duplicate]
Not terribly pretty, but:
myArray = 1:3;c = arrayfun(@(x) x, myArray , 'UniformOutput', false); c{:}
Not terribly pretty, but:
myArray = 1:3;c = arrayfun(@(x) x, myArray , 'UniformOutput', false); c{:}