How to reduce computation time
Show older comments
I have while loops in my code it is taking too much time for execution is there any way to reduce the execution time
Answers (2)
Traz Daczkowski
on 20 Mar 2018
0 votes
Without your source code the only advice I can give is to look into Vectorization. Avoid nested loops. Pay attention to MATLAB's performance warnings.
VAMSI KRISHNA PELLURU
on 22 Mar 2018
0 votes
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!