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

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)

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

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.
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

Asked:

JB
on 28 Oct 2015

Commented:

on 4 Nov 2015

Community Treasure Hunt

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

Start Hunting!