Nonlinear least square regression
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi all i have 17 observation (x and y) the relation between them as follows
y = 0.392 * (1 - (x / J)) ^ i
i want to use nonlinear least square regression to know J and i
Thanks in advance
0 commentaires
Réponse acceptée
Eli Duenisch
le 23 Mai 2013
Modifié(e) : Eli Duenisch
le 23 Mai 2013
Do you have the statistics toolbox installed? It supports nonlinear regression - look for NonLinearModel.fit() in the docs.
5 commentaires
Tom Lane
le 24 Mai 2013
Try NonLinearModel.fit capitalized just that way. This should work in the most recent releases of MATLAB. Otherwise try nlinfit.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Regression 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!