extract equation from cfit contents
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Rob L
le 14 Juil 2014
Réponse apportée : Shashank Prasanna
le 14 Juil 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 commentaires
Réponse acceptée
Shashank Prasanna
le 14 Juil 2014
You can use the formula methods to access the formula you fit:
load census
f = fittype('poly2');
formula(f)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!