a question about ops{} command
이전 댓글 표시
Hi; I've wrote a mfile in which a symbolic variable is produced that its length is more than 25000 characters, so I broke it by using "ops" and it breaks the variable in 369 expressions. Now I need to get the derivative of the sum of these expressions. What could I do? Is there any way to save all of these expressions? Thanks
답변 (1개)
Walter Roberson
2012년 5월 14일
0 개 추천
Consider using the MuPAD map() operation.
댓글 수: 2
frank
2012년 5월 15일
Walter Roberson
2012년 5월 15일
feval(symengine, 'map', YourSymbolicExpression, 'diff', TheDerivativeVariable, 'Unsimplified')
I would, however, expect that
diff(YourSymbolicExpression, TheDerivativeVariable)
would do just as well.
The 25000 character limitation applies to *displaying* a variable, not to storing it.
카테고리
도움말 센터 및 File Exchange에서 Surfaces and Volumes에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!