How can I force fit the y axis intecept of 'fitlm' to an arbitrary value?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I'd like to perform a linear fit y = m(x) + q and force the q to a given value that is not zero.
How should I call fitlm to take q into account instead of fitting the q?
fitlm(X,Y,'Intercept',true) versus fitlm(X,Y,'Intercept',false); either leads to a fitted intercept or a force fit through zero.
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!