How to plot the 95% confident (prediction) intervals?
5 次查看(过去 30 天)
显示 更早的评论
Hi everyone
Is there a function to add 95% confident bounds (Prediction bounds) to my plot, like the one below. The dashed line suppose to be the confidence interval.

Thank you very much
Tommy
0 个评论
回答(1 个)
Star Strider
2016-1-18
There is no one function that will plot them. You can calculate them with the predict function for linear models and the nlpredci for nonlinear models. You can then plot the results.
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!