Given the headings of objects in a group, this function returns the polarization order of the group.

polOrder(h)

Arguments

h

A vector of headings (in radians).

Value

A single value between 0 and 1 corresponding to the polarization order parameter of the group.

See also

Examples

# TODO