order of multiplication in symbolic toolbox
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!