function P=pvals(pdf) % pvals(pdf) generates a row vector of the 'p' values for a pdf P=(pdf(2:length(pdf(:,2)),2))';