how to pull variables from cfit object?

2 views (last 30 days)
how to pull coefficients with such as 70% confidence bounds from cfit object? the cfit object was came from fit function.
cfit(fitresult)
ans =
General model Sin1:
ans(x) = a1*sin(b1*x+c1)
Coefficients (with 95% confidence bounds):
a1 = 10.08 (10.05, 10.1)
b1 = 5086 (5085, 5088)
c1 = 1.655 (1.652, 1.657)

Accepted Answer

Steven Lord
Steven Lord on 26 Oct 2017
You use one of the postprocessing functions on the cfit object.

More Answers (0)

Categories

Find more on Fit Postprocessing in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!