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 view (last 30 days)
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

Answers (1)

the cyclist
the cyclist on 14 Dec 2022
Edited: the cyclist on 14 Dec 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).

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!