Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
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.
Was you able to sort things out with your last problem?
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?