Telling MuPad that Symbolic Variable is a Matrix and not a Scalar (Symbolic Matrix Operations)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
is there a way to tell MuPad that symbolic variables A and B are matrices and not scalars? It usually sorts the variables in an alphabetic order. Hence, B*A produces A*B, which won't be correct in case of matrices.
I need to re-arrange large equations that involve matrices and would like to do this in MuPad.
Thanks in advance.
Cheers,
m
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (2)
Jian Wang
am 19 Okt. 2011
Hi, I am having the same problem in Mupad. The sym command given above can't be used in Mupad, right? How to do that in Mupad?
1 Kommentar
Walter Roberson
am 22 Okt. 2011
Jian,
You can use the MuPAD array() call,
http://www.mathworks.com/help/toolbox/mupad/stdlib/array.html
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!