Effacer les filtres
Effacer les filtres

Graph not lining up with the function

1 vue (au cours des 30 derniers jours)
Philosophaie
Philosophaie le 20 Oct 2017
Graph not automatically lining up with the function x. The t axis goes from -1 to 2 instead of -2 to 2 and the x axis goes from 1 to 3 instead of 0 to 1 like the exp. How do I override the graph axis?
for t=-2:.1:2
x=exp(-1*t);
plot(x,t,'-r');
end;

Réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by