필터 지우기
필터 지우기

simplify the result from symbolic tool box

조회 수: 2 (최근 30일)
xinyu
xinyu 2014년 5월 14일
댓글: Star Strider 2014년 5월 14일
The following result is what I get from the symbolic tool box with the order pretty() and simplify(). How can I have it further simplified?
/ 599522714947050542899 t \
1424715831788883510048000000000 exp| - ----------------------- |
\ 4611686018427387904 /
---------------------------------------------------------------- +
599522714947050542899
14138684084037792909600000000/599522714947050542899

답변 (2개)

Star Strider
Star Strider 2014년 5월 14일
I don’t see how you can simplify it much more, but if you want to convert the vpa integers to double values, use the Symbolic Math Toolbox double function.
  댓글 수: 2
Walter Roberson
Walter Roberson 2014년 5월 14일
Note that using vpa() or double() would result in approximation not simplification .
Star Strider
Star Strider 2014년 5월 14일
True, but I can’t imagine how much more it could be simplified.
Creating an anonymous function out of it with matlabFunction is the only other possibility I can think of.

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


Deepak Ramaswamy
Deepak Ramaswamy 2014년 5월 14일
vpa(yourExpression,16)
would give
2376416766.651975*exp(-130.000766*t) + 23583233.34802504
Is this the sort of thing what you're looking for?

카테고리

Help CenterFile Exchange에서 Assumptions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by