-1

I'm trying to implement functionality in matlab where I need the equivalent data structure to a list of lists. Based on what I have found is a cell array of cell arrays a good equivalent in matlab.

Thanks.

Andrew Barber
  • 39,603
  • 20
  • 94
  • 123
user1172468
  • 5,306
  • 6
  • 35
  • 62

1 Answers1

2

Yes, roughly... With the exception that lists are sequential-access and cell-arrays are random-access. ie the cell-array is in fact an array, not a list. I don't think there is a list analogue in MatLab, so this is the closest you'll get.

paddy
  • 60,864
  • 6
  • 61
  • 103
  • could you please vote to reopen this question. Some of the people who voted to close this question seem to have no expertise in this area. – user1172468 Mar 08 '13 at 18:04
  • 1
    I could, but it might not be worthwhile. This community can get a bit anal about how questions are asked. I generally take a more patient and open approach and am used to reading between the lines, but I have spent several years as a lab tutor while I was at varsity. Not everyone here has that kind of social exposure. The question was not well formulated, but I think it was a fair question to ask. – paddy Mar 09 '13 at 07:26