Tuesday, December 11, 2007

to plot the log Likelihood or logWt

v=zeros(1,MAX);
for i=1:MAX

v(i)=Samples(i).logWt;
newv(i) = exp(v(i));

% new(i)=v(i)/max(newv);

% v(i)=Samples(i).logL;

end

plot((newv./max(newv)))