(adsbygoogle = window.adsbygoogle || []).push({}); 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

**Physics Forums - The Fusion of Science and Community**

# MATLAB Curve Fitting Question?

Have something to add?

- Similar discussions for: MATLAB Curve Fitting Question?

Loading...

**Physics Forums - The Fusion of Science and Community**