Method for Loop-in-Loop optimization

This method decreases the evaluation time for loop-in-loop tasks.

You are now following this Submission

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 (2026). Method for Loop-in-Loop optimization (https://uk.mathworks.com/matlabcentral/fileexchange/50868-method-for-loop-in-loop-optimization), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0