Number of Digits Displayed in cftool

조회 수: 10 (최근 30일)
peter
peter 2011년 4월 24일
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

채택된 답변

Oleg Komarov
Oleg Komarov 2011년 4월 24일
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
Andrew Newell
Andrew Newell 2011년 4월 24일
Nice sleuthing, Sherlock!
Brad
Brad 2012년 12월 12일
Thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

peter
peter 2011년 4월 25일
Thanks guys!

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by