MATLAB ASSIGNMENT For the first three problems you can either put them all into
ID: 2261220 • Letter: M
Question
MATLAB ASSIGNMENT
For the first three problems you can either put them all into a single script and submit the script, or simply run them from the command line with diary turned on and submit the diary file. I. Using normpdf, find the normal pdf value for x = 1, if mu = 2 and sigma = 3. 2. Using normcdf, find the cumulative probabilty for x = 1.5, if mu-1 and sigma-4. 3. Using normiv, find the coefficient (multiplier) for a 90% confidence interval (it's not 1.96) 4. (A little more challenging) Modify the code given on slide 7 of the reading so give the z-table for values of z from 1.6 to 5Explanation / Answer
1. x = 1; mu = 2; sigma = 3;
normpdf(x,mu,sigma);
2. x = 1.5; mu = 1; sigma = 4;
normcdf(x,mu,sigma)
3. P = 0.9
norminv(P);
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.