Number of Digits Displayed in cftool

46 views (last 30 days)
Does anybody know how to increase the displayed number of digits for fitted parameters in the fitting GUI of the curve fitting tool?
Thanks, Peter

Accepted Answer

Oleg Komarov
Oleg Komarov on 24 Apr 2011
A) save the fittedmodel object to workspace then:
coeff = coeffvalues(fittedmodel)
gives you the coefficients with the maximum precision available. How to display them is up to you.
B) The other option would be to edit:
...\toolbox\curvefit\curvefit\@cfit\private\ argstring.m
Change
%11.4g
to somethink like
%11.5f or %11.7f

More Answers (1)

peter
peter on 25 Apr 2011
Thanks guys!

Community Treasure Hunt

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

Start Hunting!