How to create a Mupad symbolic variable as a matrix

2 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2011-10-20
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 个评论
Walter Roberson
Walter Roberson 2011-10-24
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

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by