Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Numerical analysis mathlab question

  1. Apr 6, 2010 #1
    34e2e6b.jpg
    how to do those tables of calculation in math lab
    i got sum really long formullas in other question and if ill do the itterations i will spend half a day just on that
     
  2. jcsd
  3. Apr 6, 2010 #2

    lanedance

    User Avatar
    Homework Helper

    what exactly do you want to do?

    set up some functions f(X_n) = X_n+1, should make the iteration easy

    then if you're feeling adveNturous, set a loop, which uses X_n to make X_n+1 using thEn formula, then prints (or stores to an array) the value of X_n+1 & E_n+1 then moves onto the next iteration
     
  4. Apr 6, 2010 #3
    i dont know matlab at all
    i know several programming langueges
    but can you describe more thurely what to do?
     
  5. Apr 6, 2010 #4

    lanedance

    User Avatar
    Homework Helper

    look up function & loop in help & you should get the idea - i don'e have a copy of matlab handy, but have used it a fair bit previously, so shouldn't be hard if you've programmed previously
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook