How can i plot graphs?
조회 수: 2 (최근 30일)
이전 댓글 표시
Please,how can i plot graph on rain attenuation,maximum ration combining and equal gain combining site and path diversity?
댓글 수: 1
Kevin Chng
2018년 10월 7일
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
채택된 답변
ANKUR KUMAR
2018년 10월 7일
"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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Directed Graphs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!