Linear Regression (replicating the backslash or MLDIVIDE function)
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a legacy system I need to update with the exact equivalent of Matlabs Linear Regression function as calculated with the "\" i.e. the backslash operator. Precision is critically important. Ideally I'd like to see the Matlab code so I can re-rewrite it in the target legacy language.
How can I see the code? or the algorithm/pseudocode for how Matlab performs the calculation?
Moved here by Matt J:
My data is two vectors A and B each 20 in length. I don't know how MLDIVIDE handles it
0 comentarios
Respuestas (1)
the cyclist
el 17 de Nov. de 2014
There is not a simple answer.
mldivide is a built-in MATLAB function (not a script that you can edit and peer into), so I don't believe you will be able to look at the actual code.
0 comentarios
Ver también
Categorías
Más información sobre Linear 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!