% Dibuja densidad de probabilidad de una distribucion weibull % Fecha de creacion: 21 de Enero de 2007 % el valor de entrada 'm' es el numero de bits por fingerprints function plot_dist_weibull(a,b,m) aleat=round(m*wblrnd(a,b,1,1000000)); aux=zeros(1,m); for k=1:length(aleat) if aleat(1,k)~=0 aux(1,aleat(1,k))=aux(1,aleat(1,k))+1; end end plot((1:m)/m,aux/1000000,'k')