How to make an ellipse with given standard deviations?
    6 views (last 30 days)
  
       Show older comments
    
    Cynthia Dickerson
 on 13 Jun 2016
  
    
    
    
    
    Commented: Cynthia Dickerson
 on 14 Jun 2016
            I'm trying to test an algorithm that my lab has written to see how it handles a non-spherical distribution of data. I need to generate a set of n-dimensional elliptical data with a standard deviation of 1 along one major axis, and a standard deviation of something else, let's say 2, along the other major axis.
Then, I need to calculate the exact standard deviation and the standard deviation of skew of the distribution around-the-compass-rose and compare it to that given by my algorithm.
How would I do this in Matlab?
4 Comments
  Image Analyst
      
      
 on 13 Jun 2016
				Originally you said " I need to calculate the exact standard deviation......" but now it seems like you're saying that you need code not to do that, but actually, to create the input data - the random points. OK, but we're still not sure if you want a shell (which I think) or a solid ellipse (which I doubt). So which is it?
Accepted Answer
More Answers (0)
See Also
Categories
				Find more on Descriptive Statistics and Visualization in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

