Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
i want to solve this equation
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/295513/image.png)
So i have to find a knowing that i have 2 vectors x and y with 10 values each. I tried with symsum but i have errors. help please
1 commentaire
Réponses (1)
Star Strider
le 20 Mai 2020
See if this does what you want:
a = sum((x - mean(x)).*y) / sum((x - mean(x)).^2);
.
0 commentaires
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!