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

 채택된 답변

Walter Roberson
Walter Roberson 2011년 10월 20일

0 개 추천

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

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by