Number of Digits Displayed in cftool

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일

4 개 추천

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일

0 개 추천

Thanks guys!

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

질문:

2011년 4월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by