writting equation with summation

조회 수: 2 (최근 30일)
Hassan Bosha
Hassan Bosha 2020년 4월 21일
답변: Deepak Gupta 2020년 4월 21일
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
darova
darova 2020년 4월 21일
Can you explain more? Do you have known constants values? Do you have any attempts (with fsolve maybe)?

댓글을 달려면 로그인하십시오.

답변 (1개)

Deepak Gupta
Deepak Gupta 2020년 4월 21일
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

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by