Why won't my graph plot
조회 수: 2 (최근 30일)
이전 댓글 표시
x = (v^2*sin(theta)^2)/g; % Where the projectile lands if it does not split it up
y = x*tan(theta)-(g*x^2)/(2*v^2*cos(theta)^2);% The trajectory the projectile takes.
plot(x,y)
댓글 수: 5
Kevin Phung
2019년 1월 23일
So it is plotting, but just a point.
You cant get a curve if you dont have a variable in your equation.
답변 (2개)
Image Analyst
2019년 1월 25일
편집: Image Analyst
2019년 1월 25일
My attached projectile program (developed by me duing my son's college physics class) plots and computes just about everything you could possibly want regarding a drag-free projectile.


댓글 수: 0
madhan ravi
2019년 1월 24일
Put dots in front of ^ and * (element wise operation ) since x is a vector , you will get a curve.
댓글 수: 7
Chad Greene
2019년 2월 15일
@ImageAnalyst, they're easiest to find in the McMurdo Dry Valleys, where there's very little weathering. Footprints can stick around for decades there.
Image Analyst
2019년 2월 16일
Are they sitting on the snow, or gravel? How do they find them? By sight (sitting on snow) or my metal detectors?
참고 항목
카테고리
Help Center 및 File Exchange에서 Oceanography and Hydrology에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!