Want to Plot a multi line graph in Matlab
Afficher commentaires plus anciens
I want to plot a graph like this. How can I implement it in Matlab ?
Réponse acceptée
Plus de réponses (1)
thiyagarajan n
le 8 Oct 2022
Modifié(e) : thiyagarajan n
le 8 Oct 2022
0 votes
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');
Catégories
En savoir plus sur Histograms dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

