Solving an equation with symbolic matrix
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I've tried solving eq1 in the following program.
The right answer is w = -D*lambda*unos
%start
unos=ones(2,1)
ceros=zeros(2,1)
E = symmatrix('E',2)
D=inv(E)
w=symmatrix('w',[2,1])
eq1= w + D*lambda*unos==ceros
solve(eq1,w)
%end
The right answer is w = -D*lambda*unos
But instead, I get the following message:
Check for incorrect argument data type or missing argument in call to function 'solve'.
Please help
0 Kommentare
Antworten (1)
Siehe auch
Kategorien
Mehr zu Assumptions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!