Plots not displaying any information
Afficher commentaires plus anciens
I Have this code where i'm trying to make 2 different plots in respect to one of the variables but when i run the code i get no errors and the plots appear but are empty. Not sure what im doing wrong. Using the Aerospace add on
Mdot=2624;
Ve=2580.87;
Pe=50;
Ae=43.008;
Go=9.81;
Pinf=101.3:0.000032;
Alt= atmospalt(Pinf);
F=Mdot * Ve + (Pe-Pinf)*Ae;
Isp=F/(Go*Mdot);
figure
title('Thust vs. Alt')
xlabel('Alt')
ylabel('Thrust')
plot(F,Alt);
hold on
figure
title('Isp vs. Alt')
xlabel('Alt')
ylabel('Isp')
plot(Isp,Alt);hold on
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!