Calculation of unknown values of two equations without Symbolic Math toolbox

2 visualizaciones (últimos 30 días)
% 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!

Respuesta aceptada

Bruno Luong
Bruno Luong el 20 de Ag. de 2019
Editada: Bruno Luong el 20 de Ag. de 2019
C = [1 1; -3 -2] \ [29; -70]

Más respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by