how to code equation
이전 댓글 표시
I'm trying to code these equations. This is my attempt. I would like to plot Cf vs x/L, but x/L as I have it shows me an error..the same with delta/x, not sure why? any help will be greatly appreciated. Thanks much.

Re = 0:500:1000;
x/L = 0:0.2:1;
Cf = 0.664*(Re)^-0.5;
delta/x = 5.0*(Re)^-0.5;
댓글 수: 1
Les Beckham
2023년 2월 3일
편집: Les Beckham
2023년 2월 3일
What are x, L, and delta?
Also, you can't put an expression like x/L on the left hand side of an assignment statement, only a variable name (optionally indexed).
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


