MATLAB: How can i plot graphs urgent Please,how can i plot graph on rain attenuation,maximum ration combining and equal gain combining site and path diversity? Best Answer "How can i plot graphs?" Here is the sample program of plotting multiple lines in matlab.clcclearvar1=rand(1,15);var2=rand(1,15);var3=rand(1,15);hold onplot([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 Related SolutionsMATLAB: Plotting every 15th elements of a vector plot(ASCM_time(1:15:end),ASCM_GPS_number_satellite(1:15:end),'g') MATLAB: How i can plot two graphs in one figure See https://www.mathworks.com/help/matlab/ref/hold.html , the command would be hold on% an exampleplot(1:10)hold onplot((1:10).^2) Related QuestionExport multiple graphs to ExcelProblem with Stairs plotTrouble plotting a graph
Best Answer