How can i plot graphs?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MOBOLAJI SODUNKE
le 7 Oct 2018
Commenté : MOBOLAJI SODUNKE
le 9 Oct 2018
Please,how can i plot graph on rain attenuation,maximum ration combining and equal gain combining site and path diversity?
1 commentaire
Kevin Chng
le 7 Oct 2018
Hi Mobolaji Sudunke,
I'm not sure what are you trying to ask. However, for plotting graph
plot(xvalue,yvalue)
More information, you may refer to
or use the plot tab
Réponse acceptée
ANKUR KUMAR
le 7 Oct 2018
"How can i plot graphs?" Here is the sample program of plotting multiple lines in matlab.
clc
clear
var1=rand(1,15);
var2=rand(1,15);
var3=rand(1,15);
hold on
plot([1:15],var1,'r')
plot([1:15],var2,'b')
plot([1:15],var3,'k')
legend({'var 1','var 2','var 3'})
I hope you have gone through the basics of matlab plotting.
If not, then please do visit https://in.mathworks.com/videos/using-basic-plotting-functions-69018.html?s_cid=learn_vid
Plus de réponses (0)
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!