Thank you, replaced find()~=0 with nnz()>0. Still in need of a solution for an alternative to for loop or any solution for speed improvement .
plotting with for loops taking more than 2hours
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Attached code is taking more than two hour to run and produce the plots. Requesting to kindly suggest a solution to improve the speed and efficiency. Thanks in advance.
5 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Discrete Data Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!