Calculate sample mean and standard deviation, MATLAB Programming

Make a vector of 500 random numbers from a normal distribution with mean 2 and standard deviation 5(randn).

a After you generate the vector, verify that the sample mean and standard deviation are close to 2 and 5 respectively (mean,std).

b Determine  P(X≤ 2)

c P(-1≤X≤  1)

c Plot distribution.


Problem:

a solve the following integral (analytical method only)

251_sample mean and standard deviation.png

b use Matlab to compute the value of above integral

c display the difference between both values (a and b) if any

Posted Date: 2/18/2013 1:09:03 AM | Location : United States







Related Discussions:- Calculate sample mean and standard deviation, Assignment Help, Ask Question on Calculate sample mean and standard deviation, Get Answer, Expert's Help, Calculate sample mean and standard deviation Discussions

Write discussion on Calculate sample mean and standard deviation
Your posts are moderated
Related Questions
function y=tps(r) % This is the thin-plate spline if r  y=0; else  y=r^2*log(r); end function y=fun(point) % my target function x=point(1); z=point(2); y=7-4*x^2+z^3;

how to convert char array to a string cell

Example of Printing vectors: For vectors & matrices, even though formatting cannot be specified, the disp function may be simpler to use in common than fprintf as it displays

Illustration of Output statements: For illustration, >> disp('Hello') Hello >> disp(4^3)   64 The formatted output can be printed to the screen by using the fpr

Given , provide solutions for the following systems of equations a) , 1.0 10.5 0.5 9 0.5 3.25 5.25 2.5 2 13 5 6 ? ? ? ? ? ? ? ? ? ? ? A ? ? ? ? ? ? ? ? ? ? ? ? 3 7 16 b b) , 1.0 10

if i have a 3x2 double.. how can i run a for loop for this matrix so tht it can subtracted values of he adjacent neighbors?

This assignment is designed to compare performance between Matlab and Excel for performing nonlinear regression analysis of a set of data. There are two data sets in the accompa

AApproximate the number to the hundredth, ten-thousandths, and one-hundredmillionth.sk question #Minimum 100 words accepted#


Function definitions: There are various ways to organize the scripts and functions, but for now every function which we write will be stored in a separate M-file, that is why