True heading and Wind direction

5 ビュー (過去 30 日間)
yashvin
yashvin 2015 年 7 月 20 日
コメント済み: yashvin 2015 年 9 月 15 日
Hello,
Given I have wind value, wind direction and true direction
May i know if in matlab, we have a function which resolves the wind into components parallel and perpendicular to my true direction?
In the end, I want to know if we have headwind or tailwind component?
Thanks

採用された回答

Star Strider
Star Strider 2015 年 7 月 20 日
There isn’t one specifically, but you can create one easily enough:
windhx = @(C,W,S) S*[sind(abs(C-W)); cosd(abs(C-W))]; % [Crosswind; Headwind] = windhx(Course, WindDirection, WindSpeed)
This takes aircraft course ‘C’ (the direction of intended flight), wind direction ‘W’, both in degrees, and windspeed ‘S’, in whatever units you want (usually knots). It produces a (2x1) vector of crosswind component in the first row, and headwind component in the second row. Negative values indicate a Left crosswind and a Tailwind, respectively.
See the Wikipedia article on Tailwind for more information.
  41 件のコメント
Star Strider
Star Strider 2015 年 8 月 31 日
Be sure to put MATLAB-Yashvin as the first words in the ‘Subject’ line so I won’t miss it.
yashvin
yashvin 2015 年 9 月 15 日
Hi Yea,
I mailed you.Please confirm.
thanks
yashvin

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by