Expansion of matrix in mupad

조회 수: 1 (최근 30일)
Radhakrishnan
Radhakrishnan 2011년 8월 8일
  • Hello All,
  • I have a quite big symbolic matrix in my matlab workspace
  • Each element of the matrix is an algebraic expression
  • when I export the matrix to muPad using setvar, I get a condensed form of matrix where each element is automatically substituted by greek letter sigma1 and sigma2
  • Since i want to apply limits to some of the varaibles of the expressions inside the matrix, I am not able to use the following Function
  • limit(Y_Reduced, ynp = inf)
  • Error: First argument must be arithmetical expression [limit]
  • Here Y_reduced is the matrix
  • Can someone help me to expand the matrix to look like how it would look if I use function "pretty" in matlab and apply limits to the matrix

답변 (1개)

Walter Roberson
Walter Roberson 2011년 8월 8일
You could use MuPad's map() function to apply limit to each element of the matrix.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by