Results 1 to 4 of 4

Math Help - I suck at MATLAB!

  1. #1
    Newbie
    Joined
    Jan 2009
    Posts
    18

    I suck at MATLAB!

    I understand the mathematics behind this and could easily do this by hand, but I'm complete noob when it comes to Matlab.

    I need to write a Matlab-function interpol.m that will return the interpolation polynomial p_{n}(x) in Newton form for    x_{0},x_{1},x_{2},\ldots,x_{n} and    f(x_{0}),f(x_{1}),f(x_{2}),\ldots,f(x_{n})

    Then I have to write a program interpol_plot.m to plot f(x) and p_{n}(x) for n=3, n=5, and n=10, and then test this on f(x)=\frac{1}{2+3x^{2}}.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Newbie
    Joined
    May 2009
    Posts
    21
    You'll appreciate MATLAB in a few years.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Jan 2009
    Posts
    18
    Quote Originally Posted by realpart1/2 View Post
    I understand the mathematics behind this and could easily do this by hand, but I'm complete noob when it comes to Matlab.

    I need to write a Matlab-function interpol.m that will return the interpolation polynomial p_{n}(x) in Newton form for    x_{0},x_{1},x_{2},\ldots,x_{n} and    f(x_{0}),f(x_{1}),f(x_{2}),\ldots,f(x_{n})

    Then I have to write a program interpol_plot.m to plot f(x) and p_{n}(x) for n=3, n=5, and n=10, and then test this on f(x)=\frac{1}{2+3x^{2}}.
    Some help on this would be greatly appreciated.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Newbie
    Joined
    May 2009
    Posts
    21
    Quote Originally Posted by realpart1/2 View Post
    Some help on this would be greatly appreciated.
    Maybe you should ask a question first. If you understand the mathematics behind this, you have trouble with the programming syntax, pherhaps? Is there something special you need help with or do you expect a finished m-file?
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. MATLAB ode 45 help
    Posted in the Math Software Forum
    Replies: 5
    Last Post: April 13th 2010, 12:40 PM
  2. ODE matlab
    Posted in the Math Software Forum
    Replies: 1
    Last Post: April 9th 2010, 10:27 PM
  3. matlab help
    Posted in the Math Software Forum
    Replies: 3
    Last Post: December 10th 2009, 03:16 AM
  4. Matlab help
    Posted in the Math Software Forum
    Replies: 4
    Last Post: September 21st 2008, 10:26 PM
  5. ~~i suck at math....help plz ASAP !!!!!
    Posted in the Math Topics Forum
    Replies: 1
    Last Post: June 7th 2006, 09:25 PM

Search Tags


/mathhelpforum @mathhelpforum