フィルターのクリア

Help Calculating Uncertainty and Error Bars.

1 回表示 (過去 30 日間)
Spottswood
Spottswood 2016 年 9 月 9 日
回答済み: Star Strider 2016 年 9 月 9 日
I have a simple problem of plotting, with error bars and a linear fit, Resistance (R) from a set of data containing Voltage (V) and Current (I). I figured out how to pull the data and plot the resulting R but I cannot figure out how to add a linear fit or the error bars. I tried errorbar() but I got input error arguments, and I tried calculating the uncertainty by finding the difference from the mean and adding that as an input, but so far nothing has really worked. Any help would be appreciated. I cannot use the interface linear fit available in Matlab, it has to be written in the script.

回答 (1 件)

Star Strider
Star Strider 2016 年 9 月 9 日
I’m not certain what you want to do, but if you want to do a linear fit and calculate the confidence intervals for a linear fit, one approach is: How to plot the confidence interval output of polyparci?

カテゴリ

Help Center および File ExchangeFit Postprocessing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by