Plotting a table with different values ?
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello !
I have a matrix of 500x40 , where x axis is Eb/No values from 1 to 40 and y axis is BER values for 500 iterations for each Eb/No value. My code stores the whole matrix, then takes the average of each column and gives a final single value with respect to x axis. I can already plot the average values but I want to plot all the 500 values for the single point,then the next 500 values for the next point and so on and finally plot the average value plot on top of it. Any suggestions how can I do it ??
0 Commenti
Risposte (1)
Star Strider
il 2 Feb 2016
This is how I would do it:
M = bsxfun(@plus, randn(500, 40)*0.1, exp(-0.1*[0:39])); % Create Data Matrix: (500x40)
figure(1)
plot([1:40], M, '.k')
I created a data matrix that may not match your actual data.
Run this code to see how the plot looks.
0 Commenti
Vedere anche
Categorie
Scopri di più su Annotations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!