How can i plot the graph of b versus a?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
a=-pi:2*pi/30:pi
b=pi/a^2
1 commentaire
Rik
le 17 Mai 2018
You should really consider learning the tool before you start using it. One of the many free online Matlab tutorials can be found here.
Réponses (1)
Von Duesenberg
le 12 Mai 2018
Is this what you had in mind?
a=-pi:2*pi/30:pi;
b=pi./a.^2;
plot(b,a) %or plot(a,b)
0 commentaires
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots 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!