extract equation from cfit contents
18 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rob L
am 14 Jul. 2014
Beantwortet: Shashank Prasanna
am 14 Jul. 2014
I have a fit object cfit for which I can access the coeffeicients by using coeffvalues.
I can also 'see' the model used but I wish to reconstruct the equation using coeffvalues and some method of extracting the equation used for fit - can this be extracted with some function equivalent to coeffvalues ?
0 Kommentare
Akzeptierte Antwort
Shashank Prasanna
am 14 Jul. 2014
You can use the formula methods to access the formula you fit:
load census
f = fittype('poly2');
formula(f)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!