Linear Regression (replicating the backslash or MLDIVIDE function)
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
the cyclist
le 17 Nov 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 commentaires
Voir également
Catégories
En savoir plus sur Linear 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!