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 日間)
Hagar Hendy
Hagar Hendy 2022 年 12 月 14 日
コメント済み: Hagar Hendy 2022 年 12 月 14 日
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 Center および File ExchangeLine Plots についてさらに検索

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by