Want to Plot a multi line graph in Matlab
Mostra commenti meno recenti
I want to plot a graph like this. How can I implement it in Matlab ?
Risposta accettata
Più risposte (1)
thiyagarajan n
il 8 Ott 2022
Modificato: thiyagarajan n
il 8 Ott 2022
0 voti
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');
Categorie
Scopri di più su Line Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

