C
CWatters
I have some data pairs containing compass bearings and wind speed.
Q1 Is there an easy way to find entries within say 20 degrees of a
bearing ? Sounds easy but "within 20 degrees of north" would cover the
range 340-360 and 0-20.
Q2 What I'm really trying to do is work out the average speed when the
wind is from a particular direction. So I guess I need to include wind
speed data in an average only if the bearing is within range.
Any suggestions on how best to go about this?
Q1 Is there an easy way to find entries within say 20 degrees of a
bearing ? Sounds easy but "within 20 degrees of north" would cover the
range 340-360 and 0-20.
Q2 What I'm really trying to do is work out the average speed when the
wind is from a particular direction. So I guess I need to include wind
speed data in an average only if the bearing is within range.
Any suggestions on how best to go about this?