How to reduce computation time

2 views (last 30 days)
VAMSI KRISHNA PELLURU
VAMSI KRISHNA PELLURU on 20 Mar 2018
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
Traz Daczkowski on 20 Mar 2018
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
VAMSI KRISHNA PELLURU on 22 Mar 2018
I have more while loops is there any alternate to replace while loop

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!