Is there any solution to fit plane onto sampling data?
Show older comments
For example I have the variables x, y (or higher dimensional data in general) and a probability distribution p(x,y). I want to approximate p(x,y) as a linear function, a plane in this case, at least somewhere in the domain. However I only have samples from the distribution. In case of big amount of data the easy way is to collect them into bins, and fit a plane onto the estimated density function. But I dont want to compress data, I would like to extract the maximum information and use the points itself. Are there any method to do this?
Answers (1)
Peter Borda
on 9 Jan 2015
0 votes
I'm not sure if I understand the problem correctly, but if you have a high number of sample point on which you have to fit a plane of any dimensions, you can use this method:
2 Comments
Mr M.
on 9 Jan 2015
Nikola Stan
on 1 Sep 2021
having (x,y,p(x,y)) is equivalent to having (x,y,z) triplets
Categories
Find more on Piecewise Linear Distribution 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!