function npdf=resize(pdf, rangelow, rangehigh) % resize(pdf, rangelow, rangehigh) Generates a pdf sampled from the given % pdf over the given range. Useful for resizing functions generated with % convpf. If the given range cuts out a portion of the function's mass, % resize will scale the function accordingly. if ispf(pdf)==0 | isdiscrt(pdf)==1 error('invalid pdf') end if rangehigh