How can I create an error band in MATLAB when I only have standard deviation values?

Responsive Ad Header

Question

Grade: Education Subject: Support
How can I create an error band in MATLAB when I only have standard deviation values?
Asked by:
84 Viewed 84 Answers
Responsive Ad After Question

Answer (84)

Best Answer
(300)
If you have standard deviation values, you can create an error band that represents roughly one standard deviation around your mean data. The lower bound would be `y - std_dev` and the upper bound would be `y + std_dev`. Use these bounds with the `fill` function to visualize this range on your plot.