Plotting error bars / Standdarddeviations
Ältere Kommentare anzeigen
My task seems very simple to me but I just couldn't find the answer online. So: x=[3, 6, 9, 12]; //x-values y=[13.6 16.0 19.7 17.0]; //corresponding y-values of the data series err = [1.42 1.88 4.36 4.39]; //Standarddeviations to all the y values. I want to have a plot of the x-values vs y values and the standarddeviations as errorbars in every point. If I plot it like this, the error bars don't have the appropriate length. How can I do that? Thanks a lot!
Akzeptierte Antwort
Weitere Antworten (1)
Ann Gerber
am 24 Jun. 2018
0 Stimmen
Kategorien
Mehr zu Errorbars finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!