Results 1 to 3 of 3

Math Help - numerical analysis mathlab question

  1. #1
    MHF Contributor
    Joined
    Nov 2008
    Posts
    1,401

    numerical analysis mathlab question


    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
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member Anonymous1's Avatar
    Joined
    Nov 2009
    From
    Big Red, NY
    Posts
    517
    Thanks
    1
    http://www.mathhelpforum.com/math-he...ns-method.html

    BTW if your referring to MATLAB, it stands for Matrix Laboratory.

    Don't worry I made the same mistake also.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by transgalactic View Post
    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
    A script like:

    Code:
     
    f=inline('x^3+13.6*x^2+42.2*x-9');
     
    Df=inline('3*x^2-27.6*x+42.2');
     
    x=1;
    for n=0:4
      err=f(x)/Df(x);
      rv=[rv;[n,x,err]];
      x=x-err;
    end
     
    disp(rv);
    should do.

    You will have to add your own lables.

    Though you might find Excel a more suitable tool if you are not a fluent programmer.

    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Numerical Analysis Problem Question
    Posted in the Differential Geometry Forum
    Replies: 3
    Last Post: September 13th 2010, 07:24 PM
  2. simpson method question(numerical analysis)
    Posted in the Differential Geometry Forum
    Replies: 2
    Last Post: June 26th 2010, 08:06 AM
  3. numerical analysis question..
    Posted in the Discrete Math Forum
    Replies: 3
    Last Post: April 10th 2010, 03:36 AM
  4. numerical analysis question
    Posted in the Discrete Math Forum
    Replies: 5
    Last Post: April 6th 2010, 04:50 AM
  5. Numerical Analysis Question
    Posted in the Advanced Math Topics Forum
    Replies: 1
    Last Post: November 1st 2009, 10:22 PM

Search Tags


/mathhelpforum @mathhelpforum