I am trying to initialize an empty array which itself contains 5 empty arrays. But matlab seems to just create a simple empty array variable instead. Following are the two syntaxes I have tried. Any ideas if it is possible in matlab?
bins = [ []; []; []; []; [] ];
bins = repmat([], 5, 1)