K
kplonsky
Guest
I am having a really hard time trying to answer this question.
"Create a normal distribution of temperatures (Gaussian distribution) with a
mean of 70F, and a standard deviation of 2 degrees, corresponding to 2
hours duration. You’ll need a temperature for each time value from 0 to
120 minutes."
I believe I have to use something like this "temp=randn(1,120)*2+70" but I think I am very far off. My matlab book doesn't show how to do Gaussian distribution.
Please help!!
"Create a normal distribution of temperatures (Gaussian distribution) with a
mean of 70F, and a standard deviation of 2 degrees, corresponding to 2
hours duration. You’ll need a temperature for each time value from 0 to
120 minutes."
I believe I have to use something like this "temp=randn(1,120)*2+70" but I think I am very far off. My matlab book doesn't show how to do Gaussian distribution.
Please help!!