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 次查看(过去 30 天)
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

回答(1 个)

the cyclist
the cyclist 2022-12-14
编辑:the cyclist 2022-12-14
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).

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by