Method for Loop-in-Loop optimization
Version 1.0.0.0 (6.92 KB) by
Pavel Paunov
This method decreases the evaluation time for loop-in-loop tasks.
This method decreases the evaluation time for multiple For or Parfor loop tasks. The function reshapes two dimensional matrix into single vector. Afterwards the vector is evaluated in single For or Parfor loop. After that the output is reconstructed into matrix with the original size.
Cite As
Pavel Paunov (2024). Method for Loop-in-Loop optimization (https://www.mathworks.com/matlabcentral/fileexchange/50868-method-for-loop-in-loop-optimization), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Parallel Computing > Parallel Computing Toolbox > Performance Profiling >
- Mathematics and Optimization > Optimization Toolbox > Problem-Based Optimization Setup >
Find more on Performance Profiling in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |