MATLAB Answers

i want to solve this equation

조회 수: 1(최근 30일)
Ana Monea
Ana Monea 20 May 2020
답변: Star Strider 20 May 2020
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

darova 20 May 2020
You should try fsolve

Sign in to comment.


Star Strider
Star Strider 20 May 2020
See if this does what you want:
a = sum((x - mean(x)).*y) / sum((x - mean(x)).^2);

  댓글 수: 0

Sign in to comment.


Translated by