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!


