MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > generate two normal pdf from different mean and st... 

Subject: generate two normal pdf from different mean and standerd devition values. From: Amy Date: 23 Mar, 2012 15:31:17 Message: 1 of 15 
How can I generate two pdf curves normal distribution from two sets of random values with a different mean and standerd devition values. 
Subject: generate two normal pdf from different mean and standerd devition From: Alan Weiss Date: 23 Mar, 2012 16:14:39 Message: 2 of 15 
On 3/23/2012 11:31 AM, Amy wrote: 
Subject: generate two normal pdf from different mean and standerd devition From: Amy Date: 23 Mar, 2012 16:55:17 Message: 3 of 15 
Thanks for your reply. Here is what I did: 
Subject: generate two normal pdf from different mean and standerd devition From: Alan Weiss Date: 23 Mar, 2012 17:08:56 Message: 4 of 15 
On 3/23/2012 12:55 PM, Amy wrote: 
Subject: generate two normal pdf from different mean and standerd devition From: Amy Date: 23 Mar, 2012 17:20:29 Message: 5 of 15 
Alan Weiss <aweiss@mathworks.com> wrote in message <jkian8$ngo$1@newscl01ah.mathworks.com>... 
Subject: generate two normal pdf from different mean and standerd devition From: Tom Lane Date: 23 Mar, 2012 18:04:07 Message: 6 of 15 
>> > S1=randn(1,100); 
Subject: generate two normal pdf from different mean and standerd devition From: Amy Date: 24 Mar, 2012 13:59:13 Message: 7 of 15 
"Tom Lane" <tlane@mathworks.com> wrote in message <jkidun$5jd$1@newscl01ah.mathworks.com>... 
Subject: generate two normal pdf from different mean and standerd devition From: Tom Lane Date: 24 Mar, 2012 15:27:18 Message: 8 of 15 
> All what I'm trying to do is to generate two sets of values ( all are positive should be) then obtain the mean and sigma for these two sets (should be different). then plot these two pdf curves. 
Subject: generate two normal pdf from different mean and standerd devition From: dpb Date: 24 Mar, 2012 15:31:41 Message: 9 of 15 
On 3/24/2012 8:59 AM, Amy wrote: 
Subject: generate two normal pdf from different mean and standerd devition From: Amy Date: 24 Mar, 2012 15:51:16 Message: 10 of 15 
Tom Lane <tplane@gmail.com> wrote in message <e1bb236b06ff4f8e825cdcc67f67d7b0@er9g2000vbb.googlegroups.com>... 
Subject: generate two normal pdf from different mean and standerd devition From: dpb Date: 24 Mar, 2012 16:07:18 Message: 11 of 15 
On 3/24/2012 10:51 AM, Amy wrote: 
Subject: generate two normal pdf from different mean and standerd devition From: Amy Date: 27 Mar, 2012 16:04:13 Message: 12 of 15 
Is it right to calculate the mean and veriance for the set S1 and S2 from "normfit" then using the "normpdf" to get the data for plotting???? I was wondering why when I do this I get differnt mean and sigma on the plot?? 
Subject: generate two normal pdf from different mean and standerd devition From: dpb Date: 27 Mar, 2012 20:14:15 Message: 13 of 15 
On 3/27/2012 11:04 AM, Amy wrote: 
Subject: generate two normal pdf from different mean and standerd devition From: carlos lopez Date: 27 Mar, 2012 21:20:11 Message: 14 of 15 
"Amy" wrote in message <jki9tl$ivj$1@newscl01ah.mathworks.com>... 
Subject: generate two normal pdf from different mean and standerd devition From: Tom Lane Date: 28 Mar, 2012 14:11:56 Message: 15 of 15 
> Is it right to calculate the mean and veriance for the set S1 and S2 from 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.