why estimating 3 values takes longer time than estimating 4 values?
Afficher commentaires plus anciens
In the attached code, when we estimate 2 values of u, it takes less time than the case where we estimate 3 values of u? It seems ok. But its strange that when we look at the time for estimating 3 values of u, it takes more time than estimating 4 values of u. Why it is so?
3 commentaires
John D'Errico
le 12 Fév 2023
Asking why code takes long or not is difficult, especially complicated code with no comments so we even know what the code is doing. On top of all that, this code is a random process, with a moderately small population size, so it may not even be terribly repeatable.
Sadiq Akbar
le 13 Fév 2023
Sadiq Akbar
le 14 Fév 2023
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!