Creating a frequency distribution from a randomised data set

3 views (last 30 days)
Hi Guys, I have a data set containing clouds of points for three distinct groups. I am looking to shuffle the data set over the groups to create a distribution of random euclidean distances that I can then compare the true euclidean distance values to. Is there any function that can help me do this?
Cheers
  4 Comments
Nathanael Walker-Hale
Nathanael Walker-Hale on 2 May 2015
Hi guys, sorry for being unclear, and thanks for your comments. I'm basically structuring this as I go along, so a lot of the theory might be a bit off. When I say the true euclidean distances I mean that of the unrandomised data set, which I've taken as the distance between the mean of the x and y values for each cloud (i.e. the approximate centre). Then I want to scramble the dataset, and get a new, random set of euclidean distances between those points. Then I want to repeat that however many times to get a distribution of randomised euclidean distances (using the values from within the dataset) which I can then compare the original values to.
Nathanael Walker-Hale
Nathanael Walker-Hale on 2 May 2015
I have three groups of n = 30, and I'm really only concerned with two of the three possible euclidean distances - those between each of the two outer groups and the central one. Hope that helps.

Sign in to comment.

Answers (0)

Categories

Find more on MathWorks Cloud Center in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!