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!