필터 지우기
필터 지우기

How to use parallel computing for while loop?

조회 수: 4 (최근 30일)
VENKATA NARESH MALLADI
VENKATA NARESH MALLADI 2017년 2월 17일
댓글: Walter Roberson 2017년 2월 17일
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
Walter Roberson
Walter Roberson 2017년 2월 17일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Parallel Computing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by