Calculation of unknown values of two equations without Symbolic Math toolbox

조회 수: 2 (최근 30일)
% Dear users! I have two-simple equations as below:
% C1+C2=29;
% -3*C1-2*C2=-70;
% Unfortunately, I don't have Symbolic Math Toolbox and there is currently
% no way for get it. Is there any way to find the values of C1=12, C2=17 without syms ?
% Thanks in advance!

채택된 답변

Bruno Luong
Bruno Luong 2019년 8월 20일
편집: Bruno Luong 2019년 8월 20일
C = [1 1; -3 -2] \ [29; -70]

추가 답변 (0개)

카테고리

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