how could i use the while statement more faster

조회 수: 1 (최근 30일)
ahmed hattab
ahmed hattab 2012년 7월 21일
if any one please could help me with this. I'm making a loop using while statement , but it took too much time. is there is any way to reduce the needed time ?
  댓글 수: 1
Jan
Jan 2012년 7월 21일
It is impossible to suggest an improvement without seeing the code. Please add it to the question by editing.

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

답변 (1개)

George Papazafeiropoulos
George Papazafeiropoulos 2012년 7월 21일
What do you want to do exactly inside this while loop? Can you show some piece of code?
  댓글 수: 3
Jan
Jan 2012년 7월 21일
Do not overwrite the built-in function eps with a local variable.
Add the folder "C:\hattab\hattab\master of scince\my master\matlab\using matricies\" to the path (see e.g. addpath) and call the script Force directly without the run command. It would even better to convert Force to a function.
ahmed hattab
ahmed hattab 2012년 7월 21일
it works thanks very much for your help

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

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by