Как мне решить эту проблему matlab, желательно написать мне сценарий
Need help with this matlab Question Average Wind Direction Create two vectors with these wind readings (in degrees). [350, 355, 10, 355, 20] and [170, 190, 180, 190, 200] 1. Create a script that calls a function averageWindDirection() that returns an angle (in degrees) and takes a vector of wind directions as input parameter. The function averageWindDirection() is stored in a script of the same name. 2. The function averageWindDirection() computes the average wind direction for the wind directions supplied in the input parameter (vector with the wind angles). Your result should be the average wind direction in degrees with 4 decimals. Hint: the wind direction is measured in degrees on a compass rose and ranges between 0 and 359.999 degrees. In mathematics, this is often referred to as a circular quantity.
Что я уже пробовал:
Я пробовал это лично и потерпел неудачу
NotPolitcallyCorrect
Мы здесь не для того, чтобы делать за вас домашние задания