cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Rerunning a loop with a condition.

Newbie

Rerunning a loop with a condition.

This is a small part of my loop which gives me the value of P.M in the end; which is a

(312 X 10) matrix.

I am interested in calculating P.M with a condition saying (PM<x) it reruns the loop again

incresing the value of xi by 10 each time

Please ignore the error as i have deleated 95% of the table since it was 15 pages long.

If someone could please write a discription or a short example for help.

thanks in advance.

2 REPLIES 2

Re: Rerunning a loop with a condition.

Was you able to sort things out with your last problem?

http://communities.ptc.com/message/199709#199709

Re: Rerunning a loop with a condition.

Assumed answered does mean you have found your error in reasoning?

As you PM is the product of a constant and x[i. If PM<x[i and you increase x[i the relation will remain the same! So the while-loop you would have to use will run endlessly. Or did you had in mind to increase the factor in yor PM only, leaving the value to compare with unchanged?

Announcements