Expansion of matrix in mupad

  • 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

Answers (1)

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

Tags

Asked:

on 8 Aug 2011

Community Treasure Hunt

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

Start Hunting!