how to code equation
Afficher commentaires plus anciens
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 commentaire
Les Beckham
le 3 Fév 2023
Modifié(e) : Les Beckham
le 3 Fév 2023
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).
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


