Calculation of unknown values of two equations without Symbolic Math toolbox

7 views (last 30 days)
Rengin
Rengin on 20 Aug 2019
Edited: Bruno Luong on 20 Aug 2019
% 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!

Accepted Answer

Bruno Luong
Bruno Luong on 20 Aug 2019
Edited: Bruno Luong on 20 Aug 2019
C = [1 1; -3 -2] \ [29; -70]

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by