writting equation with summation

2 visualizaciones (últimos 30 días)
Hassan Bosha
Hassan Bosha el 21 de Abr. de 2020
Respondida: Deepak Gupta el 21 de Abr. de 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 comentario
darova
darova el 21 de Abr. de 2020
Can you explain more? Do you have known constants values? Do you have any attempts (with fsolve maybe)?

Iniciar sesión para comentar.

Respuestas (1)

Deepak Gupta
Deepak Gupta el 21 de Abr. de 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

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by