How do I print/save parameters from fitnlm?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Anjodenunca
el 18 de Ag. de 2015
Editada: Anjodenunca
el 18 de Ag. de 2015
Hello, my main objective is to run several excel arrays through a gaussian function and I would like to export certain information including the values from the fitnlm parameters because these correspond to things like peak phase shift and amplitude.
Ideally, each of these arrays will generate a plot of the fit vs. the actual data. It would be awesome to print each of these to an excel sheet with the parameter data I'm after. Is there any way to do those things? Thanks!
0 comentarios
Respuesta aceptada
Walter Roberson
el 18 de Ag. de 2015
The output of fitnlm is a nonlinear model object. See http://www.mathworks.com/help/stats/nonlinearmodel-class.html
"To obtain any of these columns as a vector, index into the property using dot notation. For example, in mdl the estimated coefficient vector is
beta = mdl.Coefficients.Estimate "
1 comentario
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!