how coding drag coefficient?

6 ビュー (過去 30 日間)
Lilya
Lilya 2016 年 8 月 2 日
回答済み: YATIK SHAH 2021 年 4 月 14 日
Hi all, I need kindly help to write a code to calculate drag coefficient as the attached figure.
thank you in advance
  2 件のコメント
Bob Thompson
Bob Thompson 2016 年 8 月 2 日
Could you expand a little bit more on what you're looking for exactly? All I can determine from the information in the pic is that Cd = 0.0012.
Lilya
Lilya 2016 年 8 月 3 日
The equation is in the first line, this is what I actually want. The wind speed values are in matrix which in form of u, v.

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

採用された回答

Star Strider
Star Strider 2016 年 8 月 3 日
See if this does what you want:
tau = @(U10) 1.22.*[1.2E-3.*((4 < U10) & (U10 < 11)) + 1E-3*(0.49 + 0.065*U10).*((11 <= U10) & (U10 < 25))].*U10.^2;
x = linspace(0, 24.9);
figure(1)
plot(x, tau(x))
xlabel('\itU_{10}\rm')
ylabel('\bf\tau\rm')
grid
  8 件のコメント
Lilya
Lilya 2016 年 8 月 3 日
Thank you very much for your help. I greatly appreciate it.
Star Strider
Star Strider 2016 年 8 月 3 日
My pleasure.

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

その他の回答 (1 件)

YATIK SHAH
YATIK SHAH 2021 年 4 月 14 日
tau = @(U10) 1.22.*[1.2E-3.*((4 < U10) & (U10 < 11)) + 1E-3*(0.49 + 0.065*U10).*((11 <= U10) & (U10 < 25))].*U10.^2;
x = linspace(0, 24.9);
figure(1)
plot(x, tau(x))
xlabel('\itU_{10}\rm')
ylabel('\bf\tau\rm')
grid

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by