# Question: in a 1d 2class problem the density functions of both...

###### Question details

In a 1-D, 2-class problem, the density functions of both classes are adequately represented by univariate Gaussian, with μ1=3 , 1 = 1 and μ2= 5 , 2 = 2

Sketch the two density functions on the same figure

Assume that

P(w1) = 0.6, P(w2) = 0.4

a) Use MATLAB to draw the pdf and the posteriori probability. Comment on the difference