is it normal for a matlab program to run more than a day?
Mostra commenti meno recenti
i'm trying to make a color plot using a data that has (2500000) elements in it. i have to do some manipulations to sort the data in to a few histogram. but matlab has been running for more than a day and still hasn't got the result. i sould mention that for 32000 data point, the same code takes almost 2 or 3 minutes to give the color plot results. is it normal to take this much time considering 2500000 data points?
thank you
3 Commenti
Adam
il 4 Dic 2015
It depends entirely what the operations are and their scalability. If you have an O(n^2) algorithm then clearly going up from 32000 to 2500000 is going to make a huge difference. If your code is O( n log(n) ) then it should scale up ok.
I always try to make sure my long calculations contain progress bars so I get an idea how long it may take and if it is doing anything much at all and if it is slowing down as it goes, etc, etc.
Joseph
il 4 Dic 2015
Risposte (0)
Categorie
Scopri di più su Startup and Shutdown in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!