The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: storing a vector within a while look and plotting it
Replies: 4   Last Post: Sep 18, 2012 5:10 PM

Advanced Search

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

Posts: 10
Registered: 9/17/12
storing a vector within a while look and plotting it
Posted: Sep 17, 2012 1:37 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have a while loop that keeps iterating until a certain value is within a certain error bound. The while loop runs 8 times and keeps overriding an old value with the new one as the result gets closer to the error bound that I have specified. What I'm trying to do is store every value that the function spits out to a vector so I can plot it.
I think that should make sense and I would really appreciate any help.

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.