Hi Sherry, The pdf functions are for generating a new set of random data based on a given histogram. The purpose is take a random number uniformly distributed on the interval 0 to 1 (which is what random number generators typically spit out) and give you a new random number with a custom or empirical distribution.
It sounds like you simply want to estimate the PDF of a given data set. For that, just create a histogram (e.g., with the function gsl_histogram_accumulate). If desired scale it so it has unit integral (trivial for uniform bins). Brian Message: 2 > Date: Mon, 6 Jun 2011 13:39:11 +0200 > From: sherry mikheal <[email protected]> > To: [email protected] > Subject: [Help-gsl] gsl_histogram > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hallo , > I just dont get what the function (gsl_histogram_pdf_sample) take exactly > as > a double(i mean what the r resembles) > i mean i want to enter input voltages to get their pdf but they may be > higher than 1 so what shall i do ??? > _______________________________________________ Help-gsl mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gsl
