Info
This question is closed. Reopen it to edit or answer.
i want to solve this equation
1 view (last 30 days)
Show older comments
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 Comment
Answers (1)
Star Strider
on 20 May 2020
See if this does what you want:
a = sum((x - mean(x)).*y) / sum((x - mean(x)).^2);
.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!