how coding drag coefficient?
조회 수: 24 (최근 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
댓글 수: 8
추가 답변 (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!