MATLAB Curve Fitting Question?

  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. hey does anyone have any ideas for this? i am still stuck... thanks
     
Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook

Have something to add?