1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
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: MATLAB Curve Fitting Question?

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


    n = 100;
    x = 1:n;
    err = randn(1,n);
    y = x + err;

    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
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook