Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Cell Array Indexing is Much Much Much Superior to Dataset Indexing(Life is in peace now)

1 view (last 30 days)
Hi All,
This is for the info of the MATLAB community that when I used dataset array in my loops which had 44340 iterations, the task was completed in 4927 seconds for a rate of about 10 iterations per second. means it took me approx 82 minutes to do that.(My whole day was wasted in running that script 4 times).
After I used a CELL ARRAY in place of the laziest DATASET ARRAY, the same task completed in
Elapsed time is 872.837510 seconds. means just 14 minutes (came down from 82 minutes).
This was amazing...no other changes to the code.
Life is easy with Cell Array.

Answers (1)

Peter Perkins
Peter Perkins on 3 May 2012

This question is closed.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!