Solving an equation with symbolic matrix
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Assumptions 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!