I dont understand my error. Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error.
Ältere Kommentare anzeigen
syms x y z
a = (1)/((x*10x10^3)*y*(z + 10x10^-9)) == 3.9*10^9;
b = (1.)/(z+10x10^-9)*(((10x10^3)*y)/((10x10^3)+y)) == 1.571*10^4;
c = (10x10^-9)/(x*y*(z + 10x10^-9)) == 1.571*10^4;
solve (a,x);
solve (b,y);
solve (c,z);
[A,B] = equationsToMatrix([a, b, c], [x, y, z]);
X = linsolve(A,B);
What should i change?
2 Kommentare
Walter Roberson
am 9 Dez. 2022
you cannot use x for multiplication in MATLAB. You should mostly use the .* operator
Antworten (0)
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!