Calculation of unknown values of two equations without Symbolic Math toolbox

2 visualizzazioni (ultimi 30 giorni)
% 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!

Risposta accettata

Bruno Luong
Bruno Luong il 20 Ago 2019
Modificato: Bruno Luong il 20 Ago 2019
C = [1 1; -3 -2] \ [29; -70]

Più risposte (0)

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by