How to get a 2D matrix estimate from Ksdensity for bivariate data
Show older comments
Hello,
I'm trying to get the function ksdensity to return a matrix instead of a vector when I use it for a bivariate input (signal of I and Q).
The problem is that ksdensity only returns a vector even if the points are inputted as a 2 column matrix.
Can anybody help ?
Answers (1)
Nagasai Bharat
on 21 Oct 2020
0 votes
Hi,
From my understanding you are trying to get a 2D output from the bivariate data and using the ksdensity function you are getting a vector. The following MATLAB Answer would likely help you achive your objective.
2 Comments
Hammam Orabi
on 21 Oct 2020
Nagasai Bharat
on 23 Oct 2020
Hi,
There is an entry in the file exchange that does 2-d kernel density esimation:
You could try this.
Categories
Find more on Kernel Distribution 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!