solving 4 equations with 4 unknowns
이전 댓글 표시
why do matlab gives two values for each unknown in the following system?
syms a b d e
eqn1 = a+b-4 == 0;
eqn2 = d+e-5 == 0;
eqn3 = a + b/2 + d/2 - 6.5/1.3 == 0;
eqn4 = d*b - exp(1.51)*e*a == 0;
[a,b,d,e]=solve(eqn1,eqn2,eqn3,eqn4)
채택된 답변
추가 답변 (1개)
William Rose
2023년 3월 7일
편집: William Rose
2023년 3월 7일
0 개 추천
@Hamza Harbi, because the equation has two solutions. The first values of a,b,d,e are one solution; the second values of a,b,d,e are another.
카테고리
도움말 센터 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




