Borrar filtros
Borrar filtros

How to use parallel computing for while loop?

4 visualizaciones (últimos 30 días)
VENKATA NARESH MALLADI
VENKATA NARESH MALLADI el 17 de Feb. de 2017
Comentada: Walter Roberson el 17 de Feb. de 2017
I am a civil engineering graduate student involved in a research project in which I am using object tracking a part of tool I am developing, My program involves my object tracking in which change in location of object is change in location of the load applied on the structure I have designed. There is huge lag while running the program for which I felt, parallel computing method might be useful. How to involve parallel computing for while loop?
  1 comentario
Walter Roberson
Walter Roberson el 17 de Feb. de 2017
What is the calculation that is happening inside the while loop?
Explicit parallel computing is not always faster; it is often slower. If you are doing extensive mathematics such as matrix inversions then going parallel would likely be slower. Explicit parallel can be faster if you can split the work load cleanly into independent sections.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Parallel Computing en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by