How would I perform a linear regression with a for loop on a set of data without using a GUI
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
So if I had a set of data X and Y of the same length
How would I do a linear regression with a for loop. I created a separate value xi where i have points of evaluation that spans the domain.
I would want to fit it to the curve Y= a*X+b and Y=A*X^b etc etc.
The equation I want it to run in the loop i've attached below. please help
3 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Linear and Nonlinear Regression en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!