Borrar filtros
Borrar filtros

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 visualización (últimos 30 días)
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

Respuestas (1)

the cyclist
the cyclist el 14 de Dic. de 2022
Editada: the cyclist el 14 de Dic. de 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).

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by