Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
ARS
ARS le 3 Mai 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (1)

Peter Perkins
Peter Perkins le 3 Mai 2012

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by