Clear Filters
Clear Filters

How to create a Mupad symbolic variable as a matrix

2 views (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 20 Oct 2011
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 Comments
Jian Wang
Jian Wang on 21 Oct 2011
I need a general symbolic matrix at Mupad level
Walter Roberson
Walter Roberson on 24 Oct 2011
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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!