how could i use the while statement more faster

1 view (last 30 days)
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 Comment
Jan
Jan on 21 Jul 2012
It is impossible to suggest an improvement without seeing the code. Please add it to the question by editing.

Sign in to comment.

Answers (1)

George Papazafeiropoulos
George Papazafeiropoulos on 21 Jul 2012
What do you want to do exactly inside this while loop? Can you show some piece of code?
  3 Comments
Jan
Jan on 21 Jul 2012
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 on 21 Jul 2012
it works thanks very much for your help

Sign in to comment.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!