Scalar Error bars???
Show older comments
When using ERRORBAR, I like to be able to use a scalar for the error bar length instead of a vector (all error bar of the same length).
If I type like this,
X = 0:pi/10:pi;
Y = sin(X);
E = 0.371;
errorbar(X,Y,E)
MATLAB shows "X, Y and error bars must all be the same length" How do I overcome this?
Answers (1)
Categories
Find more on Errorbars in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!