A more complex issue than first thought - undersampling according to the Gaussian distribution
3 views (last 30 days)
Show older comments
Apologies for asking something very similar to last time but I was wondering if you could help me. I have points on a 17x17x17 cubic lattice and I have stored the x y and z corrdinates of these points in a 4913x3 matrix. I would like to undersample these points and only take measurements from a subset. I want to undersample according to the Gaussian distribution but initially I tired to simply undersample the indices according to the Gaussian, however, of course this will not work as it is necessary for me to also take into account the position of the points on the lattice. Any idea how I would do this I have thought to find the mean and variance of the 4913x3 matrix and then use normrnd (mu, sigma) to subsample the points
2 Comments
Image Analyst
on 11 Apr 2013
I don't understand. WHERE you take the points from shouldn't depend on what the mean and variance of the array elements is, should it? I mean, you have elements going from x=1 to x=17. Now you could take 1000 points with x values in the range 7+/-3 (of course you'll have to interpolate if you want the array at non-integer x locations), but I don't see how 7+/-3 has anything to do with whether the mean of the entire array is 128 or 200 or 25000 or whatever. Please explain that to me.
Answers (0)
See Also
Categories
Find more on MATLAB Support Package for IP Cameras in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!