Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
ARS
ARS 2012 年 5 月 3 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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.

回答 (1 件)

Peter Perkins
Peter Perkins 2012 年 5 月 3 日

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by