Why won't my graph plot

2 vues (au cours des 30 derniers jours)
Osamah Ahmed
Osamah Ahmed le 23 Jan 2019
Commenté : Image Analyst le 16 Fév 2019
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 commentaires
Kevin Phung
Kevin Phung le 23 Jan 2019
So it is plotting, but just a point.
You cant get a curve if you dont have a variable in your equation.
Walter Roberson
Walter Roberson le 23 Jan 2019
Where is time in your equations ?

Connectez-vous pour commenter.

Réponses (2)

Image Analyst
Image Analyst le 25 Jan 2019
Modifié(e) : Image Analyst le 25 Jan 2019
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.
0001 Screenshot.png

madhan ravi
madhan ravi le 24 Jan 2019
Put dots in front of ^ and * (element wise operation ) since x is a vector , you will get a curve.
  7 commentaires
Chad Greene
Chad Greene le 15 Fév 2019
@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
Image Analyst le 16 Fév 2019
Are they sitting on the snow, or gravel? How do they find them? By sight (sitting on snow) or my metal detectors?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Oceanography and Hydrology dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by