writting equation with summation

2 views (last 30 days)
Hassan Bosha
Hassan Bosha on 21 Apr 2020
Answered: Deepak Gupta on 21 Apr 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 Comment
darova
darova on 21 Apr 2020
Can you explain more? Do you have known constants values? Do you have any attempts (with fsolve maybe)?

Sign in to comment.

Answers (1)

Deepak Gupta
Deepak Gupta on 21 Apr 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

Community Treasure Hunt

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

Start Hunting!