How can i plot graphs?

1 view (last 30 days)
MOBOLAJI SODUNKE
MOBOLAJI SODUNKE on 7 Oct 2018
Please,how can i plot graph on rain attenuation,maximum ration combining and equal gain combining site and path diversity?

Accepted Answer

ANKUR KUMAR
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.
  1 Comment
MOBOLAJI SODUNKE
MOBOLAJI SODUNKE on 9 Oct 2018
ANKUR KUMAR,Thanks so much.Please inbox me your contact in my mail address: bolojomapa84@yahoo.com

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!