order of multiplication in symbolic toolbox
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!