Number of Digits Displayed in cftool

11 vues (au cours des 30 derniers jours)
peter
peter le 24 Avr 2011
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

Réponse acceptée

Oleg Komarov
Oleg Komarov le 24 Avr 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
  2 commentaires
Andrew Newell
Andrew Newell le 24 Avr 2011
Nice sleuthing, Sherlock!
Brad
Brad le 12 Déc 2012
Thanks!

Connectez-vous pour commenter.

Plus de réponses (1)

peter
peter le 25 Avr 2011
Thanks guys!

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by