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