Filter löschen
Filter löschen

i want to plot this data noise = [0 1 5 10]; mis_bits= [0 3 5 7]; error_dev= [0 0.6288 0.8048 1.0080] where is the standard deviation as shown below , how to that with matla

1 Ansicht (letzte 30 Tage)
i want to plot this data
noise = [0 1 5 10];
mis_bits= [0 3 5 7];
error_dev= [0 0.6288 0.8048 1.0080] where is the standard deviation , i want to plot that graph in matlabas shown below , how to that with matlab

Antworten (1)

the cyclist
the cyclist am 14 Dez. 2022
Bearbeitet: the cyclist am 14 Dez. 2022
Use the errorbar function.
I'm not certain about your descriptions, but I think this is what you want:
noise = [0 1 5 10];
mis_bits= [0 3 5 7];
error_dev= [0 0.6288 0.8048 1.0080];
errorbar(noise,mis_bits,error_dev)
I recommend reading the documentation page I linked, to make sure I got your variables in the order you wanted (and to just understand the function better).

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by