How to calculate wind direction& speed from U and V wind components

20 views (last 30 days)
Hi, I need help. I have wind components 'U500','V50M','U50' etc etc. I need to convert them to wind speed & wind direction. Can some one help please?

Answers (1)

@Johannes
@Johannes on 28 Oct 2015
Hi,
the formulas you need are easy to find in the internet. Do you have a specific problem with MATLAB?
Best regards, Johannes
  2 Comments
JB
JB on 28 Oct 2015
Hey,The attached is the output of the code.I want to replace the headers & its data with new values that are calculated after applying formula for U&V conversion to windspeed & winddirection.
@Johannes
@Johannes on 4 Nov 2015
I assume that your output is a matrix. You can access to the elements and change them. For example A(i,j)=12; will set the value of the element ij to 12.
Best regards, Johannes

Sign in to comment.

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!