order of multiplication in symbolic toolbox
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Is there a way to define a symbolic variable as a matrix without specifying its dimension?
I know I can do, for example
A = sym('A',[m n]);
Ultimately I want multiplications of variables to preserve their order. For example,
A*X*A would result in X*A^2. If I could define A and X as matrices, it would keep that order; similarly for inverses.
Thanks!
dan
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox 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!