How can I replace some symbolic values in a matrix?
Ältere Kommentare anzeigen
Hello!
I have a (symbolic) matrix A and its components depend on some symbolic variables (x, y and z). I want to replace the symbolic values with zero and I used subs function:
A = subs(subs(subs(A, x, 0), y, 0), z, 0);
and it doesn’t work (the replacement don’t take place) It doesn’t work either:
A = subs(A, x, 0);
What can I do to replace my symbolic variables with zero in this case?
Thanks!
2 Kommentare
Dishant Arora
am 4 Mär. 2014
The replacement doesn't take place, then what do you get?? It should work fine.
Dina Irofti
am 4 Mär. 2014
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Numeric Solvers 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!