plotting out an equation with increments
显示 更早的评论
Hello, im a total noob at this
so im trying to plot out air speed with the following equation
V = sqrt(2Pd/sigma)
v = air speed PD = dynamic preasure sigma = air density
I need to show the range of dynamic pressures from 500 pascals to 800 at increments of 50
how would I go about writing this out?
回答(1 个)
Star Strider
2016-5-11
Use the colon ‘:’ operator to create the vector you want:
Pd = 500 : 50 : 800;
类别
在 帮助中心 和 File Exchange 中查找有关 Dynamic System Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!