Effacer les filtres
Effacer les filtres

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)
Ana Monea
Ana Monea le 20 Mai 2020
Clôturé : MATLAB Answer Bot le 20 Août 2021
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
darova
darova le 20 Mai 2020
You should try fsolve

Réponses (1)

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

Cette question est clôturée.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by