Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: iterations adjustments UPDATED
Replies: 3   Last Post: Nov 24, 2012 9:30 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
ARTEMIS CIVIL

Posts: 3
Registered: 11/23/12
iterations adjustments UPDATED
Posted: Nov 23, 2012 4:32 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello, I really have to deal with the problem below. I am a beginner in
matlab and my deadline is quite pressing. Thank you in advance!
Well, I have to guess an initial value "n" in order to find the ultimate value
"Pu". When the extracting Pu deviates from a specific defined value (Pe) more
than 0.1% then I need the code to make use of the last value of "Pu" to find the correct n until the parameter "Pu"reach the Pe. Otherwise the parameter n is kept.
such as:
input: n
results: Pu
target: pe
dp=pu-pe
if dp<0.1%
keep n
or else
n=n+dn
and again from the begining until the Pe is reached!
Thanks!!



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.