How to create a Mupad symbolic variable as a matrix

Hi,
Is it possible to create a Mupad symbolic variable as a matrix, only specifying the dimension but not the element?
I don't want the elements of the matrix variable to appear in my equation.
Thanks in advance!
Rgds, Jian

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 20 Okt. 2011

0 Stimmen

Do you need to do this at the MATLAB level or at the MuPAD level?
Is there a particular data type that the matrix will hold (e.g., numbers only), or do you need a general symbolic matrix?

2 Kommentare

Jian Wang
Jian Wang am 21 Okt. 2011
I need a general symbolic matrix at Mupad level
I thought I had answered this already, but perhaps that was a day that the site was acting up.
At the MuPAD level, you create general symbolic arrays with the array() call.
http://www.mathworks.com/help/toolbox/mupad/stdlib/array.html

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by