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

MATLAB Curve Fitting Question?

  1. Oct 11, 2008 #1
    1. The problem statement, all variables and given/known data

    Given:

    clear
    n = 100;
    x = 1:n;
    err = randn(1,n);
    mean(err);
    std(err);
    y = x + err;
    cftool

    Q - Relate your fitted to the data in y to the mean, S and SE values. You should also compare the fit results to the 95% point on the curve of the integral of the normal distribution.


    2. The attempt at a solution

    I did the following:

    Mean = mean(y)

    Standard_Deviation = std(y)

    Standard_Error = ((Standard_Deviation).^2)./sqrt(100)


    But in all honestly dont know what I have to do. I mean how do I relate the data? I think the problem here is that I do not understand the question. Thanks
     
  2. jcsd
  3. Oct 11, 2008 #2
    hey does anyone have any ideas for this? i am still stuck... thanks
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Similar Discussions: MATLAB Curve Fitting Question?
  1. MATLAB Question? (Replies: 3)

  2. Curve Fitting Data (Replies: 1)

Loading...