Can I put words in branching statements?
1 view (last 30 days)
Show older comments
I have a formula which says that F= 1/2*A*Cd*(V+/- Vair)^2
If the air is headwind, The formula is (V+Vair)^2
If the air is tailwind, The formula is (V-Vair)^2
If wind i s not there then the value of Vair is 0.
Can I code this? And also in function?
0 Comments
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!