dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Random distribution with given Percentiles

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Posts
    31

    Random distribution with given Percentiles

    I have a height weight chart that gives me the values for the 5th, 10th, 25th, 50th, 75th, 90th, 95th percentiles. anyone have a Algorithm to (passably) randomly generate results that match my data?

  2. #2
    Join Date
    Oct 2006
    Posts
    616

    Re: Random distribution with given Percentiles

    Well, it's not random, but you can use the Least Squares method to fit a set of data points with a curve (a.k.a Curve Fitting).
    There is a built in matlab function that does it.

    Regards,
    Zachm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)