Kernel density distribution where range is polar

1 Ansicht (letzte 30 Tage)
jnaumann
jnaumann am 29 Sep. 2013
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

Antworten (0)

Kategorien

Mehr zu Polar Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by