[t,r] = rose(...)
rose(theta)plots an angle histogram for the angles in
theta, which must be in radians. The angle histogram is a plot in polar coordinates of the number of theta points or samples within each of 20 angle bins.
n is a scalar, uses
n equally spaced bins in the range
x is a vector, uses the bins specified in
x. The values in
x specify the center angle of each bin.
[t,r] = rose(...) returns the vectors
r such that
polar(t,r) is the histogram for the data. No plot is drawn.
wind = 360*rand(365,1)
rose(wind*pi/180,24) %histogram every 15 degrees
(c) Copyright 1994 by The MathWorks, Inc.