writting equation with summation

2 vues (au cours des 30 derniers jours)
Hassan Bosha
Hassan Bosha le 21 Avr 2020
How can i write such equation on matlab , although i have more 4 equations simliar to it with unknown parameters, so that i can solve those equations to get the unknowns
  1 commentaire
darova
darova le 21 Avr 2020
Can you explain more? Do you have known constants values? Do you have any attempts (with fsolve maybe)?

Connectez-vous pour commenter.

Réponses (1)

Deepak Gupta
Deepak Gupta le 21 Avr 2020
Hello Hassan,
You can use solve function of matlab. Here is an example:
syms u v
eqns = [2*u + v == 0, u - v == 1];
S = solve(eqns,[u v])
Thanks,
Deepak

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by