I want to plot wind rose diagrams but I don't know how to use windrose.m file. Can anybody tell me how to use this file?

 채택된 답변

Star Strider
Star Strider 2015년 4월 3일

0 개 추천

I don’t know what format your data are in. You can always use the rose plot function, or if you have data in the form this person has, use the code I wrote in Rose diagram for discrete data.

댓글 수: 4

Varun Agrawal
Varun Agrawal 2015년 4월 4일
I have two data sets, one is hourly wind speed data of a site and other is direction data at every three hours with some missing entries.
Star Strider
Star Strider 2015년 4월 4일
I don’t know how you want to deal with hourly wind velocity and incomplete direction data every three hours. Those are your decisions, but you have to have one set of direction data and one set of velocity data to use any function I’m aware of (including nine). I would either average the velocity data, or interpolate the missing direction data. That choice is yours. (Meteorologic phenomena are rarely of sufficient frequency that you would have to sample them more often than every hour.) I would interpolate the missing entries, unless they are missing because the velocity was so extreme that the anemometer or windvane broke. (This has been known to occur.)
You have to create a data set that meets your continuity requirements first (hourly or thrice-hourly). Then we can determine the appropriate plot for them. You may want to consider pol2cart and plot3 as well if you want velocity and direction (x,y) as a function of time (z).
Varun Agrawal
Varun Agrawal 2015년 4월 4일
Thanks for your suggestions.I will come back to you if more help needed
Star Strider
Star Strider 2015년 4월 4일
My pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Weather and Atmospheric Science에 대해 자세히 알아보기

태그

질문:

2015년 4월 3일

댓글:

2015년 4월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by