order of multiplication in symbolic toolbox

1 回表示 (過去 30 日間)
Daniel Zelazo
Daniel Zelazo 2012 年 10 月 27 日
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 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by