how coding drag coefficient?
26 次查看(过去 30 天)
显示 更早的评论
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
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.
采纳的回答
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
更多回答(1 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!