Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
i want to solve this equation
조회 수: 3 (최근 30일)
이전 댓글 표시
![](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
답변 (1개)
Star Strider
2020년 5월 20일
See if this does what you want:
a = sum((x - mean(x)).*y) / sum((x - mean(x)).^2);
.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!