circdensity edit page

Wrapped gaussian fit for circular, axial data in the range 0:pi

Syntax

pdf = circdensity(bc, bp, sig,varargin)

Input

bc list of angles (= bincenters)
bp list of values (= Bin population)
sig sigma of Gaussian used to smooth the distribution

Output

pdf circular density function

Options

sum do not normalize to area = 1 (default) but sum of radii =1