Want to Plot a multi line graph in Matlab
Ältere Kommentare anzeigen
I want to plot a graph like this. How can I implement it in Matlab ?
Akzeptierte Antwort
Weitere Antworten (1)
thiyagarajan n
am 8 Okt. 2022
Bearbeitet: thiyagarajan n
am 8 Okt. 2022
0 Stimmen
x = [......]; % use values of observations
y1 = [.....]; % use values of observations or form expression
y2 = [.....]; % use values of observations or form expression
y3 = [.....]; % use values of observations or form expression
figure(1);
plot(x, y1, x, y2, x, y3);
xlabel('Frequency Slots --->');
ylabel('Spectral Efficiency');
legend('Average User rate','Fair Spectrum Sharing','No Spectrum Sharing');
Kategorien
Mehr zu Line Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

