Solving an equation with symbolic matrix
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!