Kernel density distribution where range is polar

5 次查看(过去 30 天)
Hi there,
I am not sure if the question heading makes sense but I will try to explain my problem more clearly here. I have a set of data d and I am calculating the density estimation over the range x using the following code
x=linspace(0,0.259*pi,201);
[f,xi]=ksdensity(d,x);
However, the range corresponds to the circumference of a circle and clearly this creates a discontinuity. Does anyone know of a way of avoiding this discontinuity so that the density estimation at each end of the range is updated if an event occurs near the discontinuity? I hope this makes sense.
Many thanks in advance
Jack

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Probability Density Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by