How can i plot graphs?
1 view (last 30 days)
Show older comments
MOBOLAJI SODUNKE
on 7 Oct 2018
Commented: MOBOLAJI SODUNKE
on 9 Oct 2018
Please,how can i plot graph on rain attenuation,maximum ration combining and equal gain combining site and path diversity?
1 Comment
Kevin Chng
on 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
Accepted Answer
ANKUR KUMAR
on 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
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!